]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common: add _require_norecovery
authorJaegeuk Kim <jaegeuk@kernel.org>
Thu, 12 Feb 2015 03:19:37 +0000 (14:19 +1100)
committerDave Chinner <david@fromorbit.com>
Thu, 12 Feb 2015 03:19:37 +0000 (14:19 +1100)
commitbc7cf7b94afddfb852af93c66bc9c99542765d34
tree5ad8b19d762a890a764421df41619ede66ca44ad
parentf71327511d24ff65c516670edd92f9af2ec0a3a6
common: add _require_norecovery

This patch adds checking code whether filesystem supports norecovery
mount option or not.  Use this in the following xfs test.

 xfs/200         (recovery vs ro-block device)

Currently, norecovery mount option is used by xfs only. But some of
log-based filesystems (e.g., f2fs) are able to support it later.

Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
common/rc
tests/xfs/200