io_uring: iopoll protect complete_post
io_req_complete_post() may be used by iopoll enabled rings, grab locks in this case. That requires to pass issue_flags to propagate the locking state. Signed-off-by:Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/cc6d854065c57c838ca8e8806f707a226b70fd2d.1669203009.git.asml.silence@gmail.com Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- io_uring/io_uring.c 15 additions, 6 deletionsio_uring/io_uring.c
- io_uring/io_uring.h 8 additions, 2 deletionsio_uring/io_uring.h
- io_uring/kbuf.c 2 additions, 2 deletionsio_uring/kbuf.c
- io_uring/poll.c 1 addition, 1 deletionio_uring/poll.c
- io_uring/uring_cmd.c 1 addition, 1 deletionio_uring/uring_cmd.c
Loading
Please register or sign in to comment