summary refs log tree commit diff stats
path: root/results/scraper/launchpad-without-comments/1884831
diff options
context:
space:
mode:
Diffstat (limited to 'results/scraper/launchpad-without-comments/1884831')
-rw-r--r--results/scraper/launchpad-without-comments/188483121
1 files changed, 21 insertions, 0 deletions
diff --git a/results/scraper/launchpad-without-comments/1884831 b/results/scraper/launchpad-without-comments/1884831
new file mode 100644
index 000000000..3927b32cd
--- /dev/null
+++ b/results/scraper/launchpad-without-comments/1884831
@@ -0,0 +1,21 @@
+qemu-nbd fails to discard bigger chunks
+
+This report is moved from systemd to here:
+https://github.com/systemd/systemd/issues/16242
+
+A qemu-nbd device reports that it can discard a lot of bytes:
+
+cat /sys/block/nbd0/queue/discard_max_bytes
+2199023255040
+
+And indeed, discard works with small images:
+
+$ qemu-img create -f qcow2 /tmp/image.img 2M
+$ sudo qemu-nbd --connect=/dev/nbd0 /tmp/image.img
+$ sudo blkdiscard /dev/nbd0
+
+but not for bigger ones (still smaller than discard_max_bytes):
+
+$ qemu-img create -f qcow2 /tmp/image.img 5G
+$ sudo qemu-nbd --connect=/dev/nbd0 /tmp/image.img
+$ sudo blkdiscard /dev/nbd0
\ No newline at end of file