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 <hch@xxxxxx> --- common/rc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/rc b/common/rc index 524ffa02a..f207d8ab2 100644 --- a/common/rc +++ b/common/rc @@ -2193,12 +2193,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 -- 2.39.2