[prev in list] [next in list] [prev in thread] [next in thread]
List: linux-xfs
Subject: [PATCH 05/10] xfs/243: don't run when realtime storage is the default
From: "Darrick J. Wong" <djwong () kernel ! org>
Date: 2022-12-30 22:20:49
Message-ID: 167243884919.740253.6143401019263412671.stgit () magnolia
[Download RAW message or body]
From: Darrick J. Wong <djwong@kernel.org>
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@kernel.org>
---
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic