mbox series

[for-next,0/7] iopoll cqe posting fixes

Message ID cover.1669203009.git.asml.silence@gmail.com (mailing list archive)
Headers show
Series iopoll cqe posting fixes | expand

Message

Pavel Begunkov Nov. 23, 2022, 11:33 a.m. UTC
We need to fix up a few more spots for IOPOLL. 1/7 adds locking
and is intended to be backported, all 2-5 prepare the code and 5/6,
fixes the problem and 7/7 reverts the first patch for-next. 

Pavel Begunkov (7):
  io_uring: add completion locking for iopoll
  io_uring: hold locks for io_req_complete_failed
  io_uring: use io_req_task_complete() in timeout
  io_uring: remove io_req_tw_post_queue
  io_uring: inline __io_req_complete_put()
  io_uring: iopoll protect complete_post
  io_uring: remove iopoll spinlock

 io_uring/io_uring.c  | 57 ++++++++++++++++++++------------------------
 io_uring/io_uring.h  | 18 +++++++++++---
 io_uring/kbuf.c      |  4 ++--
 io_uring/poll.c      |  2 +-
 io_uring/timeout.c   | 10 ++++----
 io_uring/uring_cmd.c |  2 +-
 6 files changed, 50 insertions(+), 43 deletions(-)

Comments

Jens Axboe Nov. 23, 2022, 5:51 p.m. UTC | #1
On Wed, 23 Nov 2022 11:33:35 +0000, Pavel Begunkov wrote:
> We need to fix up a few more spots for IOPOLL. 1/7 adds locking
> and is intended to be backported, all 2-5 prepare the code and 5/6,
> fixes the problem and 7/7 reverts the first patch for-next.
> 
> Pavel Begunkov (7):
>   io_uring: add completion locking for iopoll
>   io_uring: hold locks for io_req_complete_failed
>   io_uring: use io_req_task_complete() in timeout
>   io_uring: remove io_req_tw_post_queue
>   io_uring: inline __io_req_complete_put()
>   io_uring: iopoll protect complete_post
>   io_uring: remove iopoll spinlock
> 
> [...]

Applied, thanks!

[1/7] io_uring: add completion locking for iopoll
      commit: 2ccc92f4effcfa1c51c4fcf1e34d769099d3cad4
[2/7] io_uring: hold locks for io_req_complete_failed
      commit: e276ae344a770f91912a81c6a338d92efd319be2
[3/7] io_uring: use io_req_task_complete() in timeout
      commit: 624fd779fd869bdcb2c0ccca0f09456eed71ed52
[4/7] io_uring: remove io_req_tw_post_queue
      commit: 833b5dfffc26c81835ce38e2a5df9ac5fa142735
[5/7] io_uring: inline __io_req_complete_put()
      commit: fa18fa2272c7469e470dcb7bf838ea50a25494ca
[6/7] io_uring: iopoll protect complete_post
      commit: 1bec951c3809051f64a6957fe86d1b4786cc0313
[7/7] io_uring: remove iopoll spinlock
      commit: 2dac1a159216b39ced8d78dba590c5d2f4249586

Best regards,