Revision 99cce9fa block/qcow2.c
b/block/qcow2.c | ||
---|---|---|
1036 | 1036 |
const char *backing_fmt = NULL; |
1037 | 1037 |
uint64_t sectors = 0; |
1038 | 1038 |
int flags = 0; |
1039 |
size_t cluster_size = 65536;
|
|
1039 |
size_t cluster_size = DEFAULT_CLUSTER_SIZE;
|
|
1040 | 1040 |
int prealloc = 0; |
1041 | 1041 |
|
1042 | 1042 |
/* Read out options */ |
... | ... | |
1343 | 1343 |
{ |
1344 | 1344 |
.name = BLOCK_OPT_CLUSTER_SIZE, |
1345 | 1345 |
.type = OPT_SIZE, |
1346 |
.help = "qcow2 cluster size" |
|
1346 |
.help = "qcow2 cluster size", |
|
1347 |
.value = { .n = DEFAULT_CLUSTER_SIZE }, |
|
1347 | 1348 |
}, |
1348 | 1349 |
{ |
1349 | 1350 |
.name = BLOCK_OPT_PREALLOC, |
Also available in: Unified diff