]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
generic/009: don't run for btrfs if PAGE_SIZE > 4096
authorMark Fasheh <mfasheh@suse.de>
Tue, 29 May 2018 22:34:30 +0000 (00:34 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 3 Jun 2018 14:16:15 +0000 (22:16 +0800)
Btrfs has the same issue as XFS here in that the extent layout on a
> 4096 page size system will not match what is reflected in the test
output.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/009

index 797def5c3f03e90c5bcf869bba0068dbad9688cb..d9e349cd1582352301bd0e16f8617afc970f76c4 100755 (executable)
@@ -56,12 +56,12 @@ if [ "$FSTYP" = "ext4" ]; then
        _ext4_disable_extent_zeroout
 fi
 
-# When PAGE_SIZE > 4096 xfs extent layout is different so it would not match
-# the output.
-if [ "$FSTYP" = "xfs" ]; then
+# When PAGE_SIZE > 4096 some filesystems extent layout is different so
+# it would not match the output.
+if [ "$FSTYP" = "xfs" -o "$FSTYP" = "btrfs" ]; then
        PAGE_SIZE=`getconf PAGE_SIZE`
        if [ $PAGE_SIZE -gt 4096 ]; then
-               _notrun "Not supported on xfs with page size > 4096"
+               _notrun "Not supported on $FSTYP with page size > 4096"
        fi
 fi