]>
Commit | Line | Data |
---|---|---|
1 | From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | |
2 | From: Stefan Reiter <s.reiter@proxmox.com> | |
3 | Date: Tue, 2 Mar 2021 16:34:28 +0100 | |
4 | Subject: [PATCH] PVE: block/stream: increase chunk size | |
5 | ||
6 | Ceph favors bigger chunks, so increase to 4M. | |
7 | ||
8 | Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com> | |
9 | --- | |
10 | block/stream.c | 2 +- | |
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | |
12 | ||
13 | diff --git a/block/stream.c b/block/stream.c | |
14 | index 694709bd25..e09bd5c4ef 100644 | |
15 | --- a/block/stream.c | |
16 | +++ b/block/stream.c | |
17 | @@ -28,7 +28,7 @@ enum { | |
18 | * large enough to process multiple clusters in a single call, so | |
19 | * that populating contiguous regions of the image is efficient. | |
20 | */ | |
21 | - STREAM_CHUNK = 512 * 1024, /* in bytes */ | |
22 | + STREAM_CHUNK = 4 * 1024 * 1024, /* in bytes */ | |
23 | }; | |
24 | ||
25 | typedef struct StreamBlockJob { |