[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v5] migration/block: use blk_pwrite_zeroes for e
Re: [Qemu-devel] [PATCH v5] migration/block: use blk_pwrite_zeroes for each zero cluster
Wed, 12 Apr 2017 08:19:49 -0500
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 04/12/2017 08:07 AM, address@hidden wrote:
> From: Lidong Chen <address@hidden>
> BLOCK_SIZE is (1 << 20), qcow2 cluster size is 65536 by default,
> this maybe cause the qcow2 file size is bigger after migration.
s/is bigger/to be bigger/
> This patch check each cluster, use blk_pwrite_zeroes for each
> zero cluster.
> Signed-off-by: Lidong Chen <address@hidden>
Please use this space (after the ---) to state how v5 differs from v4,
in order to save reviewers some time.
> migration/block.c | 35 +++++++++++++++++++++++++++++++++--
> 1 file changed, 33 insertions(+), 2 deletions(-)
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
Description: OpenPGP digital signature