On 15.09.23 18:20, Andrey Drobyshev wrote:
Add @chsize param to the function which, if non-zero, would represent
the chunk size to be used for comparison. If it's zero, then
BDRV_SECTOR_SIZE is used as default chunk size, which is the previous
behaviour.
In particular, we're going to use this param in img_rebase() to make the
write requests aligned to a predefined alignment value.
Signed-off-by: Andrey Drobyshev <andrey.drobys...@virtuozzo.com>
---
qemu-img.c | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
With the comment fix Eric has suggested:
Reviewed-by: Hanna Czenczek <hre...@redhat.com>