diff mbox series

[13/17] xfs: xfs_copy doesn't like RT sections

Message ID 20250312064541.664334-14-hch@lst.de (mailing list archive)
State New
Headers show
Series [01/17] xfs/177: force a small file system size | expand

Commit Message

Christoph Hellwig March 12, 2025, 6:45 a.m. UTC
internal or external..

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 common/xfs | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/common/xfs b/common/xfs
index 3f9119d5ef65..7756c82cf0e5 100644
--- a/common/xfs
+++ b/common/xfs
@@ -1561,6 +1561,9 @@  _require_xfs_copy()
 	[ "$USE_EXTERNAL" = yes ] && \
 		_notrun "Cannot xfs_copy with external devices"
 
+	xfs_info "$TEST_DIR" | grep -q 'realtime.*internal' &&
+		_notrun "Cannot xfs_copy with internal rt device"
+
 	# xfs_copy on v5 filesystems do not require the "-d" option if xfs_db
 	# can change the UUID on v5 filesystems
 	touch /tmp/$$.img