Re: [Qemu-devel] [PATCH v19 01/16] vmdk: Optimize cluster allocation
This patch is included by mistake, there should already be a seperate patch on the list. Please ignore this one. Fam
[Qemu-devel] [PATCH v19 01/16] vmdk: Optimize cluster allocation
This drops the unnecessary bdrv_truncate() from, and also improves, cluster allocation code path. Before, when we need a new cluster, get_cluster_offset truncates the image to bdrv_getlength() + cluster_size, and returns the offset of added area, i.e. the image length before truncating. This is n