generic/361: disable xfs metadata io error retries
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 24 Jun 2020 03:52:54 +0000 (20:52 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 19 Jul 2020 16:40:07 +0000 (00:40 +0800)
commit3c7fd09bc79481184fa6367564b9d262347585bd
treed24c29d8be215590bf0315e82ba731b9ce7a0274
parentaae8fbecf42b99581984f2d4ad7830e9e2f3f6d0
generic/361: disable xfs metadata io error retries

This test examines the behavior of xfs when the underlying filesystem is
a sparse image on the scratch filesystem when the scratch fs is about to
run out of space.  Unfortunately, the test assumes that the scratch fs
will ENOSPC on the large data write.  It's possible that metadata
writeback will hit ENOSPC instead, and if we do, the test will hang
forever while xfs retries the write.  Make sure we're set up to fail
fast so that we don't hang the test appliance.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/361