mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
ext4: test migration to non-extent based file format
On unpatched kernel, converting file with a hole at the beginning to non-extent based format results in ext4 i_blocks corruption. Add a new regression test case for it. These two commits fixed the corruption: ext4: be more strict when migrating to non-extent based file ext4: correctly migrate a file with a hole at the beginning Signed-off-by: Eryu Guan <eguan@redhat.com> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
@@ -191,6 +191,7 @@ export WIPEFS_PROG="`set_prog_path wipefs`"
|
||||
export DUMP_PROG="`set_prog_path dump`"
|
||||
export RESTORE_PROG="`set_prog_path restore`"
|
||||
export LVM_PROG="`set_prog_path lvm`"
|
||||
export CHATTR_PROG="`set_prog_path chattr`"
|
||||
|
||||
# use 'udevadm settle' or 'udevsettle' to wait for lv to be settled.
|
||||
# newer systems have udevadm command but older systems like RHEL5 don't.
|
||||
|
||||
Reference in New Issue
Block a user