summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorLidong Chen2017-04-13 04:34:28 +0200
committerStefan Hajnoczi2017-04-21 11:36:12 +0200
commit3928d50bf151d2f25fde93432b0ee1d8eddd982d (patch)
treee0cd11b557ef32e5edc082429cd1d8db91308fba /MAINTAINERS
parentthrottle: make throttle_config(throttle_get_config()) symmetric (diff)
downloadqemu-3928d50bf151d2f25fde93432b0ee1d8eddd982d.tar.gz
qemu-3928d50bf151d2f25fde93432b0ee1d8eddd982d.tar.xz
qemu-3928d50bf151d2f25fde93432b0ee1d8eddd982d.zip
migration/block: use blk_pwrite_zeroes for each zero cluster
BLOCK_SIZE is (1 << 20), qcow2 cluster size is 65536 by default, this may cause the qcow2 file size to be bigger after migration. This patch checks each cluster, using blk_pwrite_zeroes for each zero cluster. [Initialize cluster_size to BLOCK_SIZE to prevent a gcc uninitialized variable compiler warning. In reality we always initialize cluster_size in a conditional but gcc doesn't know that. --Stefan] Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by: Lidong Chen <lidongchen@tencent.com> Message-id: 1492050868-16200-1-git-send-email-lidongchen@tencent.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions