summaryrefslogtreecommitdiff
path: root/scripts/basic
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2026-11-11 16:25:23 +0000
committerTheodore Ts'o <tytso@mit.edu>2026-11-23 15:29:17 -0500
commit0940fb9b934c9d33957804cca20db725d943d386 (patch)
tree81c4860e6ede3334dcddd7cdbc55e11a0699f3d5 /scripts/basic
parent983cf5038127c3a2798cba867929e2bd8df3a84e (diff)
ext4: add KUnit tests for fs/ext4/move_extent.c
Add a KUnit test suite (ext4_move_extent_test) covering online extent swapping and validation helpers in fs/ext4/move_extent.c: - Ordered i_data_sem lock acquisition/release in ext4_double_down_write_data_sem() and ext4_double_up_write_data_sem() - File, feature, and mode checks in mext_check_validity() (same inode, cross-sb, non-regular, bigalloc, DAX, data journaling, encrypted, non-extent, SUID/SGID, immutable/append, swapfile, quota, zero size) - Sub-page alignment, EXT_MAX_BLOCKS bounds, and EOF clamping in mext_check_adjust_range() - End-to-end ext4_move_extents() across origin/donor holes, unwritten extent moves, written MEXT_COPY_DATA with extent splitting and page cache preservation, unwritten-origin zeroing, and -EBUSY release Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions