[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 0/2] qcow2: Force preallocation with data-file-raw
From: |
Max Reitz |
Subject: |
[PATCH 0/2] qcow2: Force preallocation with data-file-raw |
Date: |
Fri, 19 Jun 2020 12:40:10 +0200 |
Hi,
As discussed here:
https://lists.nongnu.org/archive/html/qemu-block/2020-02/msg00644.html
https://lists.nongnu.org/archive/html/qemu-block/2020-04/msg00329.html
https://lists.nongnu.org/archive/html/qemu-block/2020-06/msg00240.html
I think that qcow2 images with data-file-raw should always have
preallocated 1:1 L1/L2 tables, so that the image always looks the same
whether you respect or ignore the qcow2 metadata. The easiest way to
achieve that is to enforce at least metadata preallocation whenever
data-file-raw is given.
Max Reitz (2):
qcow2: Force preallocation with data-file-raw
iotests/244: Test preallocation for data-file-raw
block/qcow2.c | 22 +++++++++++++
tests/qemu-iotests/244 | 65 ++++++++++++++++++++++++++++++++++++++
tests/qemu-iotests/244.out | 32 ++++++++++++++++---
3 files changed, 114 insertions(+), 5 deletions(-)
--
2.26.2
- [PATCH 0/2] qcow2: Force preallocation with data-file-raw,
Max Reitz <=
- [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Max Reitz, 2020/06/19
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Alberto Garcia, 2020/06/19
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Alberto Garcia, 2020/06/22
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Max Reitz, 2020/06/22
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Nir Soffer, 2020/06/22
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Max Reitz, 2020/06/22
- Re: [PATCH 1/2] qcow2: Force preallocation with data-file-raw, Eric Blake, 2020/06/22