Skip to content

Misc 5.13 fixes

Jens Axboe io-uring 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v13 patches 2 repliesSuperseded

Changes in v2 from the cover letter

- Turn double wait multishot into single-shot. The application logic won't change for that, it'll just be a bit less efficient as it'll require a re-arm for each trigger. It effectively just turns multishot into single shot mode for double wait use cases (which are rare).
- Add flag checking helper and make the io_clean_op() call conditional again.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3io_uring: disable multishot poll for double poll add casesfs/io_uring.c+6 -00 replies
2/3io_uring: put flag checking for needing req cleanup in one spotfs/io_uring.c+7 -41 reply
3/3io_uring: tie req->apoll to request lifetimefs/io_uring.c+7 -100 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/3] Misc 5.13 fixes

Hi,

#1 disables multishot requests for double waitqueue users for now, it's got a few corner cases that need hashing out.

#2 is a prep patch for #3, which ties the ->apoll lifetime with that of the request instead of keeping it seperate. That's more logical and makes it handled more like other dynamically allocated items.

 fs/io_uring.c | 32 +++++++++++++++++++-------------
 1 file changed, 19 insertions(+), 13 deletions(-)

Since v1:

- Turn double wait multishot into single-shot. The application logic won't change for that, it'll just be a bit less efficient as it'll require a re-arm for each trigger. It effectively just turns multishot into single shot mode for double wait use cases (which are rare).
- Add flag checking helper and make the io_clean_op() call conditional again.

Signature · 1 line
Jens Axboe