RFC quorum: Implement .bdrv_co_preadv/pwritev()
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest8 patches 25 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/8 | coroutine: Introduce qemu_coroutine_enter_if_inactive()include/ util/ | +14 | 2 replies | |
| 2/8 | quorum: Remove s from quorum_aio_get() argumentsblock/ | +4 | 3 replies | |
| 3/8 | quorum: Implement .bdrv_co_readv/writevblock/ | +117 | 2 replies | |
| 4/8 | quorum: Do cleanup in caller coroutineblock/ | +9 | 2 replies | |
| 5/8 | quorum: Inline quorum_aio_cb()block/ | +51 | 1 reply | |
| 6/8 | quorum: Avoid bdrv_aio_writev() for rewritesblock/ | +33 | 6 replies | |
| 7/8 | quorum: Implement .bdrv_co_preadv/pwritev()block/ | +33 | 4 replies | |
| 8/8 | quorum: Inline quorum_fifo_aio_cb()block/ | +13 | 1 reply |
Reviews trailers per patch
5 of 8 patches have a Reviewed-by or Acked-by.
| Patch | Eric Blake | Paolo Bonzini | Alberto Garcia |
|---|---|---|---|
| 1/8 | R-b | R-b | |
| 2/8 | R-b | R-b | R-b |
| 3/8 | |||
| 4/8 | R-b | ||
| 5/8 | R-b | ||
| 6/8 | |||
| 7/8 | |||
| 8/8 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.
Cover letter [Qemu-devel] [RFC PATCH 0/8] quorum: Implement .bdrv_co_preadv/pwritev()
This is part of a series that I'm working on and that aims to remove the bdrv_aio_*() emulation in io.c. blkdebug and blkverify were easy, but for quorum I need a few more patches, so I'm sending this out as an RFC while I continue work on the rest (QED, and then possibly some polishing).
After the series, quorum doesn't only use the preferred interfaces, but the code becomes a little easier to follow and byte granularity requests are supported. There is probably still some potential for additional cleanups in a follow-up series, but this should already be enough to be worth merging.
Kevin Wolf (8):
coroutine: Introduce qemu_coroutine_enter_if_inactive()
quorum: Remove s from quorum_aio_get() arguments
quorum: Implement .bdrv_co_readv/writev
quorum: Do cleanup in caller coroutine
quorum: Inline quorum_aio_cb()
quorum: Avoid bdrv_aio_writev() for rewrites
quorum: Implement .bdrv_co_preadv/pwritev()
quorum: Inline quorum_fifo_aio_cb()
block/quorum.c | 373 +++++++++++++++++++++++++---------------------- include/qemu/coroutine.h | 6 + util/qemu-coroutine.c | 8 + 3 files changed, 211 insertions(+), 176 deletions(-)
Signature · 1 line
1.8.3.1