Re: [Qemu-devel] [PATCH V6] qemu-img: align result of is_allocated_sectors

2018-07-12 Thread Kevin Wolf
Am 12.07.2018 um 15:00 hat Peter Lieven geschrieben: > We currently don't enforce that the sparse segments we detect during convert > are > aligned. This leads to unnecessary and costly read-modify-write cycles either > internally in Qemu or in the background on the storage device as nearly all >

[Qemu-devel] [PATCH V6] qemu-img: align result of is_allocated_sectors

2018-07-12 Thread Peter Lieven
We currently don't enforce that the sparse segments we detect during convert are aligned. This leads to unnecessary and costly read-modify-write cycles either internally in Qemu or in the background on the storage device as nearly all modern filesystems or hardware have a 4k alignment internally.