All of lore.kernel.org
 help / color / mirror / Atom feed
* main - aux: loop doesn't support zeroing discard
@ 2023-04-23 11:09 Zdenek Kabelac
  0 siblings, 0 replies; only message in thread
From: Zdenek Kabelac @ 2023-04-23 11:09 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7cf5feb7d245d22d4968b95f3b7cfb6467461ff2
Commit:        7cf5feb7d245d22d4968b95f3b7cfb6467461ff2
Parent:        bbc67abeed8a7a5f4a31c6dd0d3bf4cb26c6a50a
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Sun Apr 23 00:02:33 2023 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Sun Apr 23 00:02:33 2023 +0200

aux: loop doesn't support zeroing discard

To avoid logging unsupported WRITE_ZEROES with loop,
disable usage for this backend device.
---
 test/lib/aux.sh | 1 +
 1 file changed, 1 insertion(+)

diff --git a/test/lib/aux.sh b/test/lib/aux.sh
index d6689e3b8..a385df76b 100644
--- a/test/lib/aux.sh
+++ b/test/lib/aux.sh
@@ -669,6 +669,7 @@ prepare_loop() {
 		done
 	fi
 	test -n "$LOOP" # confirm or fail
+	touch NO_BLKDISCARD_Z    # loop devices do not support WRITE_ZEROS
 	BACKING_DEV=$LOOP
 	echo "$LOOP" > LOOP
 	echo "$LOOP" > BACKING_DEV


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2023-04-23 11:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-23 11:09 main - aux: loop doesn't support zeroing discard Zdenek Kabelac

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.