xfs/020: call _notrun if we can't create a 60t sparse image
authorDarrick J. Wong <darrick.wong@oracle.com>
Thu, 16 Jan 2020 05:11:19 +0000 (21:11 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 2 Feb 2020 13:17:29 +0000 (21:17 +0800)
commit699ebfad5db5e2258208314bb8ba2f03a6b66bde
tree60264fd4375f2dd97d99970ff963a2f1fc9e606d
parent7d05ebe51ba426728bdf358b550674ef88c6e09a
xfs/020: call _notrun if we can't create a 60t sparse image

If we can't create the 60T sparse image for testing repair on a large fs
(such as when running on 32-bit), don't bother running the rest of the
test.

[Eryu: use xfs_io instead of truncate]

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/020