public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] common: dm-error now supports zoned devices
@ 2024-02-21  6:37 Christoph Hellwig
  2024-02-25 16:38 ` Zorro Lang
  0 siblings, 1 reply; 4+ messages in thread
From: Christoph Hellwig @ 2024-02-21  6:37 UTC (permalink / raw)
  To: zlang; +Cc: fstests

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>
---
 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


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-02-29  1:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21  6:37 [PATCH] common: dm-error now supports zoned devices Christoph Hellwig
2024-02-25 16:38 ` Zorro Lang
2024-02-26  9:58   ` Christoph Hellwig
2024-02-29  1:43     ` Zorro Lang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox