Skip to content

block/io_uring: fix EINTR and resubmit short reads

Stefan Hajnoczi qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3block/io_uring: add submission and completion trace eventsblock/io_uring.c block/trace-events+8 -01 reply
2/3block/io_uring: fix EINTR request resubmissionblock/io_uring.c+37 -270 replies
3/3block/io_uring: resubmit short buffered readsblock/io_uring.c block/trace-events+67 -111 reply

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchPhilippe Mathieu-Daudé
1/3R-b
2/3
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] block/io_uring: fix EINTR and resubmit short reads

Short reads are possible with cache=writeback (see Patch 3 for details). Handle this by resubmitting requests until the read is completed.

Patch 1 adds trace events useful for debugging io_uring.

Patch 2 fixes EINTR. This lays the groundwork for resubmitting requests in Patch 3.

Aarushi: Feel free to squash this into your patch series if you are happy with the code, I don't mind if the authorship information is lost. After applying these patches I can successfully boot a Fedora 30 guest qcow2 file with cache=writeback.

Based-on: <[email protected]>

Stefan Hajnoczi (3):
block/io_uring: add submission and completion trace events block/io_uring: fix EINTR request resubmission block/io_uring: resubmit short buffered reads

 block/io_uring.c   | 136 ++++++++++++++++++++++++++++++++++-----------
 block/trace-events |   6 +-
 2 files changed, 108 insertions(+), 34 deletions(-)
Signature · 1 line
2.21.0