diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-04-23 00:02:33 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-04-23 00:02:33 +0200 |
commit | 7cf5feb7d245d22d4968b95f3b7cfb6467461ff2 (patch) | |
tree | b1f92d09e43afc29e8e219610e1158e73e6b1b76 | |
parent | bbc67abeed8a7a5f4a31c6dd0d3bf4cb26c6a50a (diff) | |
download | lvm2-7cf5feb7d245d22d4968b95f3b7cfb6467461ff2.tar.gz |
aux: loop doesn't support zeroing discard
To avoid logging unsupported WRITE_ZEROES with loop,
disable usage for this backend device.
-rw-r--r-- | test/lib/aux.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |