[Libguestfs] [PATCH libnbd 1/2] copy/copy-sparse-no-extents.sh: Set request-size explicitly
Richard W.M. Jones
rjones at redhat.com
Sun Jun 20 16:46:43 UTC 2021
This test implicitly depends on the nbdcopy --request-size parameter.
As I want to change the default for this parameter, set it explicitly
in the test.
---
copy/copy-sparse-no-extents.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/copy/copy-sparse-no-extents.sh b/copy/copy-sparse-no-extents.sh
index 4dc5c88..ea1b31e 100755
--- a/copy/copy-sparse-no-extents.sh
+++ b/copy/copy-sparse-no-extents.sh
@@ -39,7 +39,7 @@ requires nbdkit eval --version
out=copy-sparse-no-extents.out
cleanup_fn rm -f $out
-$VG nbdcopy --no-extents -S 0 -- \
+$VG nbdcopy --request-size=33554432 --no-extents -S 0 -- \
[ nbdkit --exit-with-parent data data='
1
@1073741823 1
--
2.32.0
More information about the Libguestfs
mailing list