From: Christoph Hellwig Date: Fri, 21 Mar 2025 07:21:33 +0000 (+0100) Subject: common: extend the zoned device checks in _require_dm_target X-Git-Tag: v2025.03.30~14 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=21810ac207c3c89433340f68b8280756f6562345;p=xfstests-dev.git common: extend the zoned device checks in _require_dm_target Also check for zoned log and rt devices in _require_dm_target Signed-off-by: Christoph Hellwig Reviewed-by: Darrick J. Wong Signed-off-by: Zorro Lang --- diff --git a/common/rc b/common/rc index 3b4c2255..f4774257 100644 --- a/common/rc +++ b/common/rc @@ -2497,6 +2497,12 @@ _require_dm_target() case $target in snapshot|thin-pool) _require_non_zoned_device ${SCRATCH_DEV} + if [ "$FSTYP" = "xfs" ] && [ -n "$SCRATCH_RTDEV" ]; then + _require_non_zoned_device ${SCRATCH_RTDEV} + fi + if [ "$FSTYP" = "xfs" ] && [ -n "$SCRATCH_LOGDEV" ]; then + _require_non_zoned_device ${SCRATCH_LOGDEV} + fi ;; esac }