diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2026-11-11 16:25:07 +0000 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-11-23 15:29:17 -0500 |
| commit | 983cf5038127c3a2798cba867929e2bd8df3a84e (patch) | |
| tree | bd94b46a10af64c4a6344909643043b814a5f819 /scripts/basic | |
| parent | 863963517288e7438f10ac638b425e8d593cf4bb (diff) | |
ext4: add KUnit tests for fs/ext4/fsmap.c
Add KUnit test suite ext4_fsmap_test in fs/ext4/fsmap-test.c covering
FS_IOC_GETFSMAP reverse-mapping queries in fs/ext4/fsmap.c:
- ext4_fsmap_from_internal() and ext4_fsmap_to_internal() block/byte
conversions across 1K, 4K, and 64K block sizes
- ext4_getfsmap() validation of flags, device IDs, inverted keys,
out-of-range physical offsets, and missing group descriptors
- fixed per-group metadata synthesis (superblock, GDT, reserved GDT,
block bitmap, inode bitmap, inode table), free extents, and
EXT4_FMR_OWN_UNKNOWN gaps in the middle and at EOFS
- flex_bg adjacent fixed-metadata merging and cross-group free-extent
coalescing via gfi_lastfree
- 1K s_first_data_block offset handling, bigalloc cluster scaling, and
META_BG reserved-GDT suppression
- count-only queries, bounded continuation-key pagination, formatter
abort propagation, and external journal device reporting
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/basic')
0 files changed, 0 insertions, 0 deletions
