]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
generic/223: port t_stripealign to FIEMAP
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 13 Jun 2018 22:50:57 +0000 (15:50 -0700)
committerEryu Guan <guaneryu@gmail.com>
Fri, 15 Jun 2018 03:00:54 +0000 (11:00 +0800)
commit16be889bc92b859d659a699e3b175018a2373742
treee9b015c5d81812656e195d0e8c090d7720adada9
parente1ca827f833bca5e48b20bfeca7ac6ab455d6d3f
generic/223: port t_stripealign to FIEMAP

Since XFS has deprecated FIBMAP on FSDAX filesystems, we can't use
FIBMAP to verify stripe alignment anymore.  FIEMAP has existed for
quite some time now, so port it to use that instead, and only fall
back to FIBMAP if FIEMAP doesn't exist.

Tested-by: ross.zwisler@linux.intel.com
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
src/Makefile
src/t_stripealign.c