| To: | david@xxxxxxxxxxxxx, darrick.wong@xxxxxxxxxx |
|---|---|
| Subject: | [PATCH 17/20] generic/204: increase log size for rmap/reflink |
| From: | "Darrick J. Wong" <darrick.wong@xxxxxxxxxx> |
| Date: | Thu, 16 Jun 2016 18:47:49 -0700 |
| Cc: | linux-btrfs@xxxxxxxxxxxxxxx, fstests@xxxxxxxxxxxxxxx, xfs@xxxxxxxxxxx |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <146612796204.25024.18254357523133394284.stgit@xxxxxxxxxxxxxxxx> |
| References: | <146612796204.25024.18254357523133394284.stgit@xxxxxxxxxxxxxxxx> |
| User-agent: | StGit/0.17.1-dirty |
We're going to need a bigger log for rmap & reflink on XFS, so
increase the size of the log and the fs appropriately.
Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx>
---
tests/generic/204 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/generic/204 b/tests/generic/204
index 42985ab..7b0dc2a 100755
--- a/tests/generic/204
+++ b/tests/generic/204
@@ -55,9 +55,9 @@ _scratch_mkfs 2> /dev/null | _filter_mkfs 2> $tmp.mkfs >
/dev/null
# versions of mkfs create. All should be valid with a 7MB log, so use that.
# And v4/512 v5/1k xfs don't have enough free inodes, set imaxpct=50 at mkfs
# time solves this problem.
-[ $FSTYP = "xfs" ] && MKFS_OPTIONS="$MKFS_OPTIONS -l size=7m -i maxpct=50"
+[ $FSTYP = "xfs" ] && MKFS_OPTIONS="$MKFS_OPTIONS -l size=16m -i maxpct=50"
-SIZE=`expr 106 \* 1024 \* 1024`
+SIZE=`expr 115 \* 1024 \* 1024`
_scratch_mkfs_sized $SIZE $dbsize 2> /dev/null \
| _filter_mkfs 2> $tmp.mkfs > /dev/null
_scratch_mount
|
| Previous by Date: | [PATCH 15/20] xfstests: fix unreferenced variables in generic/186 and generic/187, Darrick J. Wong |
|---|---|
| Next by Date: | [PATCH 16/20] reflink: test cross-mountpoint reflink and dedupe, Darrick J. Wong |
| Previous by Thread: | [PATCH 15/20] xfstests: fix unreferenced variables in generic/186 and generic/187, Darrick J. Wong |
| Next by Thread: | [PATCH 16/20] reflink: test cross-mountpoint reflink and dedupe, Darrick J. Wong |
| Indexes: | [Date] [Thread] [Top] [All Lists] |