[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [COMMIT 9ccb258] qcow2: Change default cluster size to 64
From: |
Anthony Liguori |
Subject: |
[Qemu-commits] [COMMIT 9ccb258] qcow2: Change default cluster size to 64k |
Date: |
Tue, 16 Jun 2009 21:25:06 -0000 |
From: Kevin Wolf <address@hidden>
Larger cluster sizes mean less metadata. This has been discussion a few times,
let's do it now. This turns 64k clusters on by default for new images.
Signed-off-by: Kevin Wolf <address@hidden>
Signed-off-by: Anthony Liguori <address@hidden>
diff --git a/block/qcow2.c b/block/qcow2.c
index c2be42e..14d8751 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -1703,7 +1703,7 @@ static int qcow_create(const char *filename,
QEMUOptionParameter *options)
const char *backing_fmt = NULL;
uint64_t sectors = 0;
int flags = 0;
- size_t cluster_size = 4096;
+ size_t cluster_size = 65536;
/* Read out options */
while (options && options->name) {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [COMMIT 9ccb258] qcow2: Change default cluster size to 64k,
Anthony Liguori <=