From: Darrick J. Wong <djwong@xxxxxxxxxx> Realtime volumes don't support delayed allocation, so don't run this test when the mkfs configuration specifies realtime creation by default. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- tests/xfs/243 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/xfs/243 b/tests/xfs/243 index 514fa35667..dda4a0c223 100755 --- a/tests/xfs/243 +++ b/tests/xfs/243 @@ -38,6 +38,11 @@ echo "Format and mount" _scratch_mkfs > $seqres.full 2>&1 _scratch_mount >> $seqres.full 2>&1 +# XFS does not support delayed allocation on realtime volumes (even for COW) +# so skip this test on those platforms. +$XFS_IO_PROG -c 'stat -v' $SCRATCH_MNT | grep -q "xflags.*rt-inherit" && + _notrun "delalloc not used for CoW on realtime device" + testdir=$SCRATCH_MNT/test-$seq mkdir $testdir