diff options
| author | Theodore Ts'o <tytso@mit.edu> | 2026-11-11 16:25:57 +0000 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-11-23 15:29:17 -0500 |
| commit | 0af3bcba3a0b2dbd48510be71c4feeff1d42765f (patch) | |
| tree | 4dc16beb69410ff46ee7fc1e295424e5401ab4d9 /scripts/basic/Makefile | |
| parent | 0940fb9b934c9d33957804cca20db725d943d386 (diff) | |
ext4: add KUnit tests for fs/ext4/mmp.c
Add a KUnit test suite (ext4_mmp_test) covering multi-mount protection
checksums, block I/O validation, and mount state transitions in
fs/ext4/mmp.c:
- CRC32C generation and verification in ext4_mmp_csum_set() and
ext4_mmp_csum_verify() with and without METADATA_CSUM
- Block read/write error handling, magic validation (-EFSCORRUPTED),
CRC mismatch handling (-EFSBADCRC), and buffer cleanup in
read_mmp_block() and write_mmp_block()
- ext4_multi_mount_protect() validation of out-of-range MMP blocks,
EXT4_MMP_SEQ_FSCK rejection (-EBUSY), EXT4_MMP_SEQ_CLEAN claim and
ext4_stop_mmpd() teardown, active/racing node sequence conflicts,
check_interval clamping, interrupted waits (-ETIMEDOUT), and kthread
startup failure
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'scripts/basic/Makefile')
0 files changed, 0 insertions, 0 deletions
