aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-02-21 07:37:41 +0100
committerZorro Lang <zlang@kernel.org>2024-03-12 11:39:52 +0800
commitcfb92ce9070cc98a8fefc11017988c0456e670bd (patch)
tree1218a91d667b023e44e71dcbed66942d6862492a
parent926ae266c86aaf62cdb39e508d22c2ba626e8819 (diff)
downloadxfstests-dev-cfb92ce9070cc98a8fefc11017988c0456e670bd.tar.gz
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 <hch@lst.de> Reviewed-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Zorro Lang <zlang@kernel.org>
-rw-r--r--common/rc4
1 files changed, 1 insertions, 3 deletions
diff --git a/common/rc b/common/rc
index a098032753..f619a0ebd5 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