common/xfs: Add require_xfs_db_write_array function

xfsprogs commit 4222d00("db: write via array indexing doesn't
work") fixes a bug that xfs_db write can't support array indexing.
This function will check whether the bug is fixed on the current
xfsprogs.

xfs/444 applies the function, and skips if this bug exists.

Signed-off-by: yang xu <xuyang.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
yang xu
2018-04-17 14:11:40 +08:00
committed by Eryu Guan
parent 792514c384
commit 7ed53b9342
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -54,6 +54,7 @@ _supported_os Linux
_require_check_dmesg
_require_scratch
_require_test_program "punch-alternating"
_require_xfs_db_write_array
# This is only a v5 filesystem problem
_require_scratch_xfs_crc