[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-block] [PATCH v4 3/3] iotests: test big qcow2 shrink
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-block] [PATCH v4 3/3] iotests: test big qcow2 shrink |
Date: |
Tue, 23 Apr 2019 11:15:05 +0200 |
User-agent: |
Mutt/1.11.3 (2019-02-01) |
Am 22.04.2019 um 17:23 hat Vladimir Sementsov-Ogievskiy geschrieben:
> This test checks bug in qcow2_process_discards, fixed by previous
> commit.
>
> Signed-off-by: Vladimir Sementsov-Ogievskiy <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
> Tested-by: Eric Blake <address@hidden>
Doesn't work for me (the exact value probably depends on the file
system, I'm testing on XFS):
--- /home/kwolf/source/qemu/tests/qemu-iotests/250.out 2019-04-23
10:41:27.972959135 +0200
+++ /home/kwolf/source/qemu/tests/qemu-iotests/250.out.bad 2019-04-23
11:09:48.035092870 +0200
@@ -12,10 +12,10 @@
0 0xa00000 0x82f00000 TEST_DIR/t.qcow2
0x82a00000 0xa00000 0x500000 TEST_DIR/t.qcow2
virtual size: 2.05 GiB (2202009600 bytes)
-disk size: 24 MiB
+disk size: 25 MiB
cluster_size: 1048576
Image resized.
virtual size: 5 MiB (5242880 bytes)
-disk size: 9 MiB
+disk size: 10 MiB
cluster_size: 1048576
*** done
Maybe the output of 'qemu-img map -f raw' would be more reliable?
Kevin