Commit 9ccb258e285c7ab50a45b1e5760fa2bf6814b06b
Committed by
Anthony Liguori
1 parent
198a0039
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>
Showing
1 changed file
with
1 additions
and
1 deletions
block/qcow2.c
... | ... | @@ -1703,7 +1703,7 @@ static int qcow_create(const char *filename, QEMUOptionParameter *options) |
1703 | 1703 | const char *backing_fmt = NULL; |
1704 | 1704 | uint64_t sectors = 0; |
1705 | 1705 | int flags = 0; |
1706 | - size_t cluster_size = 4096; | |
1706 | + size_t cluster_size = 65536; | |
1707 | 1707 | |
1708 | 1708 | /* Read out options */ |
1709 | 1709 | while (options && options->name) { | ... | ... |