2021-03-15 18:41:24 +03:00
|
|
|
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.
|
2022-01-13 12:34:33 +03:00
|
|
|
|
|
|
|
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
|
2021-03-15 18:41:24 +03:00
|
|
|
---
|
|
|
|
block/stream.c | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/block/stream.c b/block/stream.c
|
2022-06-27 14:05:40 +03:00
|
|
|
index 694709bd25..e09bd5c4ef 100644
|
2021-03-15 18:41:24 +03:00
|
|
|
--- a/block/stream.c
|
|
|
|
+++ b/block/stream.c
|
2021-05-27 13:43:32 +03:00
|
|
|
@@ -28,7 +28,7 @@ enum {
|
2021-03-15 18:41:24 +03:00
|
|
|
* 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 {
|