RFC aio: AIO_CONTEXT_ACQUIRE_GUARD() macro experiment
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block/aio: Add automatically released aio_context variantsinclude/ | +24 | 0 replies | |
| 2/4 | hw/scsi/scsi-disk: Use automatic AIO context lockhw/ | +4 | 1 reply | |
| 3/4 | hw/scsi/scsi-generic: Use automatic AIO context lockhw/ | +3 | 0 replies | |
| 4/4 | hw/block/virtio-blk: Use automatic AIO context lockhw/ | +12 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by.
| Patch | Dr. David Alan Gilbert |
|---|---|
| 1/4 | Inspired-by |
| 2/4 | |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [RFC PATCH 0/4] aio: AIO_CONTEXT_ACQUIRE_GUARD() macro experiment
Experiment to use glib g_autoptr/autofree features with AIO context.
Since this is a RFC, only few examples are provided.
TODO: Document the macros in docs/devel/multiple-iothreads.txt
Philippe Mathieu-Daudé (4):
block/aio: Add automatically released aio_context variants hw/scsi/scsi-disk: Use automatic AIO context lock hw/scsi/scsi-generic: Use automatic AIO context lock hw/block/virtio-blk: Use automatic AIO context lock
include/block/aio.h | 24 ++++++++++++++++++++++++ hw/block/virtio-blk.c | 26 ++++++++++++-------------- hw/scsi/scsi-disk.c | 13 ++++--------- hw/scsi/scsi-generic.c | 6 +++--- 4 files changed, 43 insertions(+), 26 deletions(-)
Signature · 1 line
2.31.1