xfs/196: check for delalloc blocks after pwrite
authorDarrick J. Wong <darrick.wong@oracle.com>
Tue, 8 Oct 2019 01:03:11 +0000 (18:03 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 13 Oct 2019 13:01:41 +0000 (21:01 +0800)
commit5b2232dde59d435a6e32b9bf6c2b5309e75893d3
tree684a53d64b3ab4293efe2f981bff439673fb81fc
parentfe64c0e70d9ad8f05fafe3eb8007e42c133d735f
xfs/196: check for delalloc blocks after pwrite

This test depends on the pwrite creating delalloc blocks, which doesn't
happen if the scratch fs is mounted in dax mode (or has an extent size
hint applied).  Therefore, check for delalloc blocks and _notrun if we
didn't get any.

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/196