From: Christoph Hellwig Date: Wed, 21 Feb 2024 06:37:41 +0000 (+0100) Subject: common: dm-error now supports zoned devices X-Git-Tag: v2024.03.17~10 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cfb92ce9070cc98a8fefc11017988c0456e670bd;p=xfstests-dev.git common: dm-error now supports zoned devices Since kernel commit a951104333bd ("dm error: Add support for zoned block devices") dm-error fully supports zoned devices. Make use of that to also run error injection tests for zoned device. Signed-off-by: Christoph Hellwig Reviewed-by: Zorro Lang Signed-off-by: Zorro Lang --- diff --git a/common/rc b/common/rc index a0980327..f619a0eb 100644 --- a/common/rc +++ b/common/rc @@ -2236,12 +2236,10 @@ _require_dm_target() _notrun "This test requires dm $target support" fi - # dm-error cannot handle the zone information - # # dm-snapshot and dm-thin-pool cannot ensure sequential writes on # the backing device case $target in - error|snapshot|thin-pool) + snapshot|thin-pool) _require_non_zoned_device ${SCRATCH_DEV} ;; esac