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 <kwolf@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
Kevin Wolf 2009-06-16 12:53:25 +02:00 committed by Anthony Liguori
parent 198a0039c5
commit 9ccb258e28

View file

@ -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) {