diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2026-11-11 16:24:47 +0000 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-11-23 15:29:16 -0500 |
| commit | 863963517288e7438f10ac638b425e8d593cf4bb (patch) | |
| tree | 5540f8f25d27ca3c3888eed5e3ae62664924364f /scripts/basic | |
| parent | 7ac9b4174f1ec6d0f675fac3244b09aedc0f45a0 (diff) | |
ext4: expand KUnit tests in fs/ext4/extents-test.c for file range operations
Expand ext4_extents_test to cover high-level file-range operations and
reporting entry points in fs/ext4/extents.c:
- ext4_fallocate() mode validation (unsupported flags, encrypted
collapse/insert rejection, FALLOC_FL_WRITE_ZEROES device limit check,
non-extent inode rejection), preallocation with and without
FALLOC_FL_KEEP_SIZE, and hole punching via FALLOC_FL_PUNCH_HOLE
- ext4_zero_range() via FALLOC_FL_ZERO_RANGE (written-to-unwritten split
and EOF extension) and FALLOC_FL_WRITE_ZEROES (block zeroouts,
unwritten-to-written conversion, and orphan tracking across EOF)
- ext4_collapse_range() alignment/EOF validation, block freeing,
left-shift of trailing extents, and adjacent extent coalescing
- ext4_insert_range() alignment/EOF/maxbytes validation, mid-extent
splitting, right-shift of trailing extents, and i_size growth
- ext4_convert_unwritten_extents(),
ext4_convert_unwritten_extents_atomic(), and
ext4_convert_unwritten_io_end_vec() IO completion conversions
- ext4_fiemap() and ext4_get_es_cache() range checks, FIEMAP_FLAG_CACHE
precaching, external xattr reporting, and status extent reporting
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
