Skip to contentSkip to conversation

xfstests: generic/274 increase scratch fs size to 2g

PATCH New Josef Bacik 1 participant 1 message Sep 10, 2013 Btrfs file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xfstests: generic/274 increase scratch fs size to 2g

With 1 gig btrfs defaults to mixed block groups, so we ENOSPC in this test because we run out of metadata space, not data space. Increasing to 2g allows us to use our normal setup and allows us to pass this test. Thanks,

---
 tests/generic/274 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
tests/generic/274 +1 -1
index da45fab..7c4887f 100755
@@ -57,7 +57,7 @@ echo "------------------------------"
 rm -f $seqres.full
 
 umount $SCRATCH_DEV 2>/dev/null
-_scratch_mkfs_sized $((1 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
+_scratch_mkfs_sized $((2 * 1024 * 1024 * 1024)) >>$seqres.full 2>&1
 _scratch_mount
 
 # Create a 4k file and Allocate 4M past EOF on that file
Signature · 1 line
1.7.7.6