public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] btrfs/149: don't run if PAGE_SIZE > 4096
@ 2018-06-22 21:38 Mark Fasheh
  2018-06-22 22:16 ` Dave Chinner
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Fasheh @ 2018-06-22 21:38 UTC (permalink / raw)
  To: fstests

The test assumes a 4K block size and fails on larger block sizes - the
extent layout will not match and the reflink command will fail.

Signed-off-by: Mark Fasheh <mfasheh@suse.de>
---
 tests/btrfs/149 | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/btrfs/149 b/tests/btrfs/149
index 3e955a30..64bc8ac3 100755
--- a/tests/btrfs/149
+++ b/tests/btrfs/149
@@ -37,6 +37,12 @@ _require_scratch
 _require_scratch_reflink
 _require_odirect
 
+# Test output will not match results if page size > 4096
+PAGE_SIZE=`getconf PAGE_SIZE`
+if [ $PAGE_SIZE -gt 4096 ]; then
+    _notrun "Not supported with page size > 4096"
+fi
+
 send_files_dir=$TEST_DIR/btrfs-test-$seq
 
 rm -f $seqres.full
-- 
2.15.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-06-22 22:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-22 21:38 [PATCH] btrfs/149: don't run if PAGE_SIZE > 4096 Mark Fasheh
2018-06-22 22:16 ` Dave Chinner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox