public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fstests: Fix generic/102 fail for btrfs
@ 2015-12-03 10:08 Zhaolei
  2015-12-07 22:12 ` Dave Chinner
  0 siblings, 1 reply; 4+ messages in thread
From: Zhaolei @ 2015-12-03 10:08 UTC (permalink / raw)
  To: fstests; +Cc: linux-btrfs, Zhao Lei

From: Zhao Lei <zhaolei@cn.fujitsu.com>

generic/102 sometimes fails in newest btrfs toolchain,
because it use non-mixed mode in default, which request more space
for metadata, and no space for data writing.

This patch force mixed mode for btrfs in generic/102.

Signed-off-by: Zhao Lei <zhaolei@cn.fujitsu.com>
---
 tests/generic/102 | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/generic/102 b/tests/generic/102
index abc3994..8c01fb5 100755
--- a/tests/generic/102
+++ b/tests/generic/102
@@ -48,6 +48,8 @@ _require_scratch
 
 rm -f $seqres.full
 
+[[ "$FSTYP" = "btrfs" ]] && MKFS_OPTIONS+=" --mixed"
+
 dev_size=$((512 * 1024 * 1024))     # 512MB filesystem
 _scratch_mkfs_sized $dev_size >>$seqres.full 2>&1
 _scratch_mount
-- 
1.8.5.1




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

end of thread, other threads:[~2015-12-09 20:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 10:08 [PATCH] fstests: Fix generic/102 fail for btrfs Zhaolei
2015-12-07 22:12 ` Dave Chinner
2015-12-08  7:26   ` Zhao Lei
2015-12-09 20:32     ` Dave Chinner

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