Radoslav Gerganov 3efffc3292 vmdk: Fix next_cluster_sector for compressed write
When the VMDK is streamOptimized (or compressed), the
next_cluster_sector must not be incremented by a fixed number of
sectors. Instead of this, it must be rounded up to the next consecutive
sector. Fixing this results in much smaller compressed images.

Signed-off-by: Radoslav Gerganov <rgerganov@vmware.com>
Reviewed-by: Fam Zheng <famz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2015-09-14 16:51:37 +02:00
..
2015-06-22 18:20:40 +02:00
2015-09-02 14:56:39 +01:00
2015-04-28 15:36:09 +02:00
2015-06-22 18:20:40 +02:00
2015-07-14 17:15:23 +02:00