This series converts qcow2 to the byte-based I/O interfaces. This simplifies the code by removing many unit conversions, and in the unlikely case of actual unaligned requests, it even makes the driver work more efficiently by avoiding read-modify-write.
Kevin Wolf (5): qcow2: Work with bytes in qcow2_get_cluster_offset() qcow2: Implement .bdrv_co_preadv() qcow2: Make copy_sectors() byte based qcow2: Use bytes instead of sectors for QCowL2Meta qcow2: Implement .bdrv_co_pwritev block/qcow2-cluster.c | 121 ++++++++++++++------------------ block/qcow2.c | 190 ++++++++++++++++++++++++++------------------------ block/qcow2.h | 18 ++--- trace-events | 6 +- 4 files changed, 159 insertions(+), 176 deletions(-) -- 1.8.3.1