xfs/189: noattr2 invalid for CRC enabled filesystems

Version 5 filesystems always have attr2 format enabled, and it
cannot be turned off via the noattr2 mount option. As such, attempts
to mount with noattr2 will be rejected and this causes cascading
failures within the test.

Hence detect if we've created a CRC enabled filesystem, and if this
is the case _notrun the test.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dave Chinner <david@fromorbit.com>
This commit is contained in:
Dave Chinner
2014-03-13 14:58:16 +11:00
committed by Dave Chinner
parent 763b46f3be
commit 97a665b5fc
2 changed files with 12 additions and 0 deletions
+2
View File
@@ -230,6 +230,7 @@ _putback_scratch_fstab()
# get standard environment, filters and checks
. ./common/rc
. ./common/filter
. ./common/attr
# real QA test starts here
_supported_fs xfs
@@ -237,6 +238,7 @@ _supported_os Linux
_need_to_be_root
_require_scratch
_require_noattr2
unset SCRATCH_RTDEV
unset SCRATCH_LOGDEV