Displaying 3 results from an estimated 3 matches for "b9145ed".
2019 May 16
0
Re: [nbdkit PATCH v2] Introduce cacheextents filter
...FISH
@@ -868,6 +866,9 @@ TESTS += \
endif HAVE_GUESTFISH
TESTS += test-cache-max-size.sh
+# cacheextents filter test.
+TESTS += test-cacheextents.sh
+
# cow filter test.
if HAVE_GUESTFISH
TESTS += test-cow.sh
diff --git a/tests/test-cacheextents.sh b/tests/test-cacheextents.sh
index fd0bd1c..b9145ed 100755
--- a/tests/test-cacheextents.sh
+++ b/tests/test-cacheextents.sh
@@ -38,6 +38,10 @@ requires diff --version
requires grep --version
requires qemu-img --version
+files="test-cacheextents-actual.log test-cacheextents-expected.log"
+rm -f $files
+cleanup_fn rm -f $files
+
nbdkit...
2019 May 16
1
Re: [nbdkit PATCH v2] Introduce cacheextents filter
...dif HAVE_GUESTFISH
> TESTS += test-cache-max-size.sh
>
>+# cacheextents filter test.
>+TESTS += test-cacheextents.sh
>+
> # cow filter test.
> if HAVE_GUESTFISH
> TESTS += test-cow.sh
>diff --git a/tests/test-cacheextents.sh b/tests/test-cacheextents.sh
>index fd0bd1c..b9145ed 100755
>--- a/tests/test-cacheextents.sh
>+++ b/tests/test-cacheextents.sh
>@@ -38,6 +38,10 @@ requires diff --version
> requires grep --version
> requires qemu-img --version
>
>+files="test-cacheextents-actual.log test-cacheextents-expected.log"
>+rm -f $files
>...
2019 May 15
6
[nbdkit PATCH v2] Introduce cacheextents filter
This filter caches the last result of the extents() call and offers a nice
speed-up for clients that only support req_on=1 in combination with plugins like
vddk, which has no overhead for returning information for multiple extents in
one call, but that call is very time-consuming.
Quick test showed that on a fast connection and a sparsely allocated 16G disk
with a OS installed `qemu-img map` runs