block: byte-based AIO read/write
Status from this message: Thanks, applied to the block-next branch.
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest6 patches 5 repliesApplied
- v16 patches 10 repliesSuperseded
Patches in v2 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | block: Support byte-based aio callbacksblock/ include/ | +35 | 0 replies | |
| 2/6 | file-win32: Switch to byte-based callbacksblock/ block/ include/ | +32 | 1 reply | |
| 3/6 | null: Switch to byte-based read/writeblock/ | +30 | 0 replies | |
| 4/6 | rbd: Switch to byte-based callbacksblock/ | +24 | 3 replies | |
| 5/6 | vxhs: Switch to byte-based callbacksblock/ | +22 | 0 replies | |
| 6/6 | block: Drop last of the sector-based aio callbacksblock/ include/ | +37 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [Qemu-devel] [PATCH v2 0/6] block: byte-based AIO read/write
While we would prefer that block drivers use coroutines instead of aio callbacks, it is a fairly easy exercise to prove that all existing drivers with aio callbacks are merely scaling from bytes into sectors and back to bytes. So, even though I am not set up to completely run (or even compile-test) this full series, it seems pretty straightforward to change the signature to quit playing games with pointless scaling.
Incorporate Kevin's review on v1, which amounted to pretty much rewriting the series to be saner (the block layer now defaults to alignment of 1, so drivers that still need 512 for keeping the patch conservative have to override that; and improve the code in io.c to put byte-based access before sector-based fallbacks).
001/6:[0023] [FC] 'block: Support byte-based aio callbacks' 002/6:[0011] [FC] 'file-win32: Switch to byte-based callbacks' 003/6:[0007] [FC] 'null: Switch to byte-based read/write' 004/6:[0008] [FC] 'rbd: Switch to byte-based callbacks' 005/6:[0007] [FC] 'vxhs: Switch to byte-based callbacks' 006/6:[0093] [FC] 'block: Drop last of the sector-based aio callbacks'
Eric Blake (6):
block: Support byte-based aio callbacks
file-win32: Switch to byte-based callbacks
null: Switch to byte-based read/write
rbd: Switch to byte-based callbacks
vxhs: Switch to byte-based callbacks
block: Drop last of the sector-based aio callbacks
include/block/block_int.h | 8 +++--- include/block/raw-aio.h | 2 +- block/io.c | 64 ++++++++++++++++++++++++++--------------------- block/file-win32.c | 47 +++++++++++++++++++++------------- block/null.c | 59 ++++++++++++++++++++++--------------------- block/rbd.c | 44 +++++++++++++++++--------------- block/vxhs.c | 43 +++++++++++++++---------------- block/win32-aio.c | 5 ++-- 8 files changed, 148 insertions(+), 124 deletions(-)
Signature · 1 line
2.14.3