]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
xfs: xfs_fsr requires working preallocation support
authorChristoph Hellwig <hch@lst.de>
Sat, 10 Nov 2018 11:51:44 +0000 (12:51 +0100)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Nov 2018 13:21:11 +0000 (21:21 +0800)
commit7022f85ca72f3b0fda02b903e2ef99c803e836f2
treeaa5fb6154d3a2dc72999e155af733849796d0732
parent09e94f84d929ca21f9557197d92fe32644d7b53f
xfs: xfs_fsr requires working preallocation support

Check that the file system actually supports preallocation for defrag
tests that end up calling xfs_fsr, as they can't be supported in
always_cow mode.

[Eryu: add comments in code as well]

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/defrag