Notable changes:
* bdrv_co_p{discard,readv,writev,write_zeroes} function signatures
changed, to using int64_t for offsets/bytes and some still had int
rather than BrdvRequestFlags for the flags.
* job_cancel_sync now has a force parameter. Commit messages in
73895f3838cd7fdaf185cf1dbc47be58844a966f
4cfb3f05627ad82af473e7f7ae113c3884cd04e3
sound like using force=true makes more sense.
* Added 3 patches coming in via qemu-stable tag, most important one is
to work around a librbd issue.
* Added another 3 patches from qemu-devel to fix issue leading to
crash when live migrating with iothread.
* cluster_size calculation helper changed (see patch pve/0026).
* QAPI's if conditionals now use 'CONFIG_FOO' rather than
'defined(CONFIG_FOO)'
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
26 lines
824 B
Diff
26 lines
824 B
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Stefan Reiter <s.reiter@proxmox.com>
|
|
Date: Tue, 2 Mar 2021 16:34:28 +0100
|
|
Subject: [PATCH] PVE: block/stream: increase chunk size
|
|
|
|
Ceph favors bigger chunks, so increase to 4M.
|
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
|
---
|
|
block/stream.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/block/stream.c b/block/stream.c
|
|
index e45113aed6..c3c0c5febe 100644
|
|
--- a/block/stream.c
|
|
+++ b/block/stream.c
|
|
@@ -28,7 +28,7 @@ enum {
|
|
* large enough to process multiple clusters in a single call, so
|
|
* that populating contiguous regions of the image is efficient.
|
|
*/
|
|
- STREAM_CHUNK = 512 * 1024, /* in bytes */
|
|
+ STREAM_CHUNK = 4 * 1024 * 1024, /* in bytes */
|
|
};
|
|
|
|
typedef struct StreamBlockJob {
|