* [PATCH] generic/009: don't run for btrfs if PAGE_SIZE > 4096
@ 2018-05-29 22:34 Mark Fasheh
0 siblings, 0 replies; only message in thread
From: Mark Fasheh @ 2018-05-29 22:34 UTC (permalink / raw)
To: fstests
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>
---
tests/generic/009 | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tests/generic/009 b/tests/generic/009
index 797def5c..727d4b60 100755
--- a/tests/generic/009
+++ b/tests/generic/009
@@ -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 xfs or btrfs with page size > 4096"
fi
fi
--
2.15.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2018-05-29 22:34 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-29 22:34 [PATCH] generic/009: don't run for btrfs if PAGE_SIZE > 4096 Mark Fasheh
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.