Message ID | 168840383563.1317961.17059869339313726876.stgit@frogsfrogsfrogs (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | fstests: random fixes for v2023.06.18 | expand |
On 2023-07-03 10:03:55, Darrick J. Wong wrote: > From: Darrick J. Wong <djwong@kernel.org> > > 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> > --- > tests/xfs/041 | 3 +++ > 1 file changed, 3 insertions(+) > > > 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; > Looks good to me: Reviewed-by: Andrey Albershteyn <aalbersh@redhat.com>
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;