From 9ccb258e285c7ab50a45b1e5760fa2bf6814b06b Mon Sep 17 00:00:00 2001 From: Kevin Wolf Date: Tue, 16 Jun 2009 12:53:25 +0200 Subject: qcow2: Change default cluster size to 64k 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 Signed-off-by: Anthony Liguori --- block/qcow2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block') diff --git a/block/qcow2.c b/block/qcow2.c index c2be42ed3c..14d8751a9f 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) { -- cgit v1.2.3