Skip to content

forbid fix {SQ,IO}POLL

Pavel Begunkov io-uring lkml 2 versions Applied

Status from this message: Thanks, applied.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 8 repliesApplied
  2. v24 patches 1 replySuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/4io_uring: fix {SQ,IO}POLL with unsupported opcodesfs/io_uring.c+24 -00 replies
2/4io_uring: do build_open_how() only oncefs/io_uring.c+7 -60 replies
3/4io_uring: deduplicate io_openat{,2}_prep()fs/io_uring.c+19 -360 replies
4/4io_uring: move send/recv IOPOLL check into prepfs/io_uring.c+6 -120 replies

Reviews trailers per patch

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

Read the v3 thread

Cover letter [PATCH v3 0/4] forbid fix {SQ,IO}POLL

The first one adds checks {SQPOLL,IOPOLL}. IOPOLL check can be moved in the common path later, or rethinked entirely, e.g. not io_iopoll_req_issued()'ed for unsupported opcodes.

3 others are just cleanups on top.

v2: add IOPOLL to the whole bunch of opcodes in [1/4].
dirty and effective.
v3: sent wrong set in v2, re-sending right one

Pavel Begunkov (4):
io_uring: fix {SQ,IO}POLL with unsupported opcodes
io_uring: do build_open_how() only once
io_uring: deduplicate io_openat{,2}_prep()
io_uring: move send/recv IOPOLL check into prep

 fs/io_uring.c | 94 ++++++++++++++++++++++++++-------------------------
 1 file changed, 48 insertions(+), 46 deletions(-)
Signature · 1 line
2.24.0