* [Qemu-devel] [PATCH] qcow2: Change default cluster size to 64k
@ 2009-06-16 10:53 Kevin Wolf
0 siblings, 0 replies; only message in thread
From: Kevin Wolf @ 2009-06-16 10:53 UTC (permalink / raw)
To: qemu-devel; +Cc: Kevin Wolf
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 <kwolf@redhat.com>
---
block/qcow2.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/block/qcow2.c b/block/qcow2.c
index 8604e6a..9acbddf 100644
--- a/block/qcow2.c
+++ b/block/qcow2.c
@@ -782,7 +782,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) {
--
1.6.0.6
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-16 10:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-16 10:53 [Qemu-devel] [PATCH] qcow2: Change default cluster size to 64k Kevin Wolf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).