Re: [PATCH 4/6] generic/765: Ignore mkfs warning
Disha Goel <[email protected]>
| Newsgroups | org.kernel.vger.fstests |
|---|---|
| Message-ID | <[email protected]> |
On 10/04/26 12:06 pm, Ojaswin Mujoo wrote: > This test validates atomic writes for all possible block sizes. In ext4, for > smaller block sizes with configurations like: > > export MKFS_OPTIONS="-O bigalloc,quota -b 65536 -C 131072" > > The output can get corrupted with warnings like below because clustersize > more than 16xbs is experimental: > > + 16 times the block size is considered experimental > > Hence pipe these to seqres.full to avoid false negatives. > > Reported-by: Disha Goel <[email protected]> > Signed-off-by: Ojaswin Mujoo <[email protected]> I've tested this patch and the test now runs cleanly without false negatives from the experimental configuration warnings. Tested-by: Disha Goel <[email protected]> > --- > tests/generic/765 | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/tests/generic/765 b/tests/generic/765 > index 09be53db..b7cc70f1 100755 > --- a/tests/generic/765 > +++ b/tests/generic/765 > @@ -64,7 +64,8 @@ test_atomic_writes() > local bsize=$1 > > get_mkfs_opts $bsize > - _scratch_mkfs $mkfs_opts >> $seqres.full > + _scratch_mkfs $mkfs_opts &>> $seqres.full || \ > + echo "mkfs $mkfs_opts failed" > _scratch_mount > > test "$FSTYP" = "xfs" && _xfs_force_bdev data $SCRATCH_MNT -- Regards, Disha