mirror of
https://github.com/qemu/qemu.git
synced 2024-11-25 03:43:37 +08:00
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:
parent
198a0039c5
commit
9ccb258e28
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user