mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/009: fix test failure with overlay over ext4
When running test with overlayfs and ext4 as base fs, we need to disable extent zeroout on the underlying base fs. Signed-off-by: Amir Goldstein <amir73il@gmail.com> Reviewed-by: Eryu Guan <guaneryu@gmail.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
c68495cd99
commit
f1666f8ec6
@@ -39,6 +39,9 @@ testfile=$TEST_DIR/009.$$
|
||||
if [ "$FSTYP" = "ext4" ]; then
|
||||
_ext4_disable_extent_zeroout
|
||||
fi
|
||||
if [ "$FSTYP" = "overlay" -a "$OVL_BASE_FSTYP" = "ext4" ]; then
|
||||
_ext4_disable_extent_zeroout "$OVL_BASE_TEST_DEV"
|
||||
fi
|
||||
|
||||
# When PAGE_SIZE > 4096 some filesystems extent layout is different so
|
||||
# it would not match the output.
|
||||
|
||||
Reference in New Issue
Block a user