[Bug 270632] [ext2fs] files <4096 bytes are corrupted on ext4 filesystems

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 11 Apr 2023 16:47:12 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270632

Ed Maste <emaste@freebsd.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |emaste@freebsd.org

--- Comment #24 from Ed Maste <emaste@freebsd.org> ---
For reference the following commits under sys/fs/ext2fs are in main but not
cherry-picked to stable/13:

2bfd8992c7c7 vnode: move write cluster support data to inodes.
8b7239681e27 ext2fs: clear write cluster tracking on truncation
1484574843a3 Fix inode birthtime updating logic.
1ed5f62d61ac Add chr/blk devices support.
5679656e09fb Improve extents verification logic.
b3f46656393f Invalidate inode extents cache on truncation.
c40a160fd0aa Make inode extra time fields updating logic more closer to linux.
2a984c2b4982 Make encode/decode extra time functions inline.
b4a58fbf6404 vfs: remove cn_thread
40dd1c9c06eb ext2: plug set-but-not-used vars
7e1d3eefd410 vfs: remove the unused thread argument from NDINIT*
b214fcceacad Change VOP_READDIR's cookies argument to a **uint64_t
5034b44574c4 Remove unnecessary e2fs_first_dblock value check
bb9f1ba4b55c Add more accurate directory entries check
ced217282230 Add more accurate check for root inode
f1d5e2c862ef Improve extents verification logic
0134bbe56fbb vfs: prefix lookup and relookup with vfs_
bb92cd7bcd16 vfs: NDFREE(&nd, NDF_ONLY_PNBUF) -> NDFREE_PNBUF(&nd)
11c549555469 ext2: plug a set-but-not-used var
5b5b7e2ca2fa vfs: always retain path buffer after lookup
b935e867af18 Tree-wide replacement of VOP_UNLOCK + vrele combo with vput
38389acc59fc ext2fs: fix potential memory leak in ext4_ext_grow_indepth()
8f874e92ebc9 vfs: make relookup take an additional argument
829f0bcb5fe2 vfs: add the concept of vnode state transitions
344243fc9213 Fix block bitmap end position computation
366da717deda Add root directory entry check.
3c2dc524c333 Do not panic in case of corrupted directory
62b572694b0a ext2_dirbad(): fix !DTRACE build
bb95e6fa98a3 Fix compilation issue, when DTRACE is not defined

Not all of them are applicable.

-- 
You are receiving this mail because:
You are the assignee for the bug.