diff options
author | Darrick J. Wong <djwong@kernel.org> | 2023-07-03 10:03:55 -0700 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2023-07-07 22:15:41 +0800 |
commit | 14941ffecb85b7df5cb732ed5782603ce2ae9933 (patch) | |
tree | 729c82a4a4d2f25134a954fb50f96e04c23be02b | |
parent | 08389a5aaa29e374e26536c943b92f8c19e8e959 (diff) | |
download | xfstests-dev-14941ffecb85b7df5cb732ed5782603ce2ae9933.tar.gz |
xfs/041: force create files on the data device
Since we're testing growfs of the data device, we should create the
files there, even if the mkfs configuration enables rtinherit on the
root dir.
Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
-rwxr-xr-x | tests/xfs/041 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/xfs/041 b/tests/xfs/041 index 05de5578ff..21b3afe7ce 100755 --- a/tests/xfs/041 +++ b/tests/xfs/041 @@ -46,6 +46,9 @@ bsize=`_scratch_mkfs_xfs -dsize=${agsize}m,agcount=1 2>&1 | _filter_mkfs 2>&1 \ onemeginblocks=`expr 1048576 / $bsize` _scratch_mount +# We're growing the data device, so force new file creation there +_xfs_force_bdev data $SCRATCH_MNT + echo "done" # full allocation group -> partial; partial -> expand partial + new partial; |