io_uring: iopoll protect complete_post
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 23 Nov 2022 11:33:41 +0000 (11:33 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 23 Nov 2022 17:45:31 +0000 (10:45 -0700)
commit1bec951c3809051f64a6957fe86d1b4786cc0313
tree7964364c1c55aea528254617dc80a3c6e6fd14ad
parentfa18fa2272c7469e470dcb7bf838ea50a25494ca
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>
io_uring/io_uring.c
io_uring/io_uring.h
io_uring/kbuf.c
io_uring/poll.c
io_uring/uring_cmd.c