diff options
author | Vladimir Sementsov-Ogievskiy | 2019-10-22 13:18:05 +0200 |
---|---|---|
committer | Max Reitz | 2019-10-28 11:22:31 +0100 |
commit | 0e2402452f1f2042923a5206b9ff3e9d70c77811 (patch) | |
tree | f2e6e90b0d36f019fac0b9555c4c19b98d2ebfc0 /include/block | |
parent | block/block-copy: add memory limit (diff) | |
download | qemu-0e2402452f1f2042923a5206b9ff3e9d70c77811.tar.gz qemu-0e2402452f1f2042923a5206b9ff3e9d70c77811.tar.xz qemu-0e2402452f1f2042923a5206b9ff3e9d70c77811.zip |
block/block-copy: increase buffered copy request
No reason to limit buffered copy to one cluster. Let's allow up to 1
MiB.
Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 20191022111805.3432-7-vsementsov@virtuozzo.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r-- | include/block/block-copy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/block/block-copy.h b/include/block/block-copy.h index edcdf0072d..0a161724d7 100644 --- a/include/block/block-copy.h +++ b/include/block/block-copy.h @@ -38,7 +38,7 @@ typedef struct BlockCopyState { BdrvDirtyBitmap *copy_bitmap; int64_t cluster_size; bool use_copy_range; - int64_t copy_range_size; + int64_t copy_size; uint64_t len; QLIST_HEAD(, BlockCopyInFlightReq) inflight_reqs; |