]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
common: dm-error now supports zoned devices
authorChristoph Hellwig <hch@lst.de>
Wed, 21 Feb 2024 06:37:41 +0000 (07:37 +0100)
committerZorro Lang <zlang@kernel.org>
Tue, 12 Mar 2024 03:39:52 +0000 (11:39 +0800)
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>
common/rc

index a098032753407767efc09e8dd2265848333ede09..f619a0ebd5a1f5993b338cccb816aca45c2ccf0a 100644 (file)
--- 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