diff options
author | Christoph Hellwig <hch@lst.de> | 2024-02-21 07:37:41 +0100 |
---|---|---|
committer | Zorro Lang <zlang@kernel.org> | 2024-03-12 11:39:52 +0800 |
commit | cfb92ce9070cc98a8fefc11017988c0456e670bd (patch) | |
tree | 1218a91d667b023e44e71dcbed66942d6862492a | |
parent | 926ae266c86aaf62cdb39e508d22c2ba626e8819 (diff) | |
download | xfstests-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/rc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |