qcow2: Implement .bdrv_co_preadv/pwritev
Status from this message: Applied to the block branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 7 repliesApplied
- v15 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- Be more careful with integer overflows [Eric]
- Updated some more comments [Eric]
- Rename copy_sectors -> do_perform_cow [Eric]
- Write single byte instead of full sector at preallocation end [Eric]
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | qcow2: Work with bytes in qcow2_get_cluster_offset()block/ | +23 | 1 reply | |
| 2/5 | qcow2: Implement .bdrv_co_preadv()block/ block/ block/ | +72 | 1 reply | |
| 3/5 | qcow2: Make copy_sectors() byte basedblock/ | +26 | 4 replies | |
| 4/5 | qcow2: Use bytes instead of sectors for QCowL2Metablock/ block/ | +15 | 1 reply | |
| 5/5 | qcow2: Implement .bdrv_co_pwritev()block/ block/ block/ +1 more | +52 | 1 reply |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake |
|---|---|
| 1/5 | R-b |
| 2/5 | R-b |
| 3/5 | R-b |
| 4/5 | R-b |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v2 0/5] qcow2: Implement .bdrv_co_preadv/pwritev
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.
v2:
- Be more careful with integer overflows [Eric]
- Updated some more comments [Eric]
- Rename copy_sectors -> do_perform_cow [Eric]
- Write single byte instead of full sector at preallocation end [Eric]
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 | 146 +++++++++++++++++-------------------- block/qcow2.c | 197 +++++++++++++++++++++++++------------------------- block/qcow2.h | 18 ++--- trace-events | 6 +- 4 files changed, 176 insertions(+), 191 deletions(-)
Signature · 1 line
1.8.3.1