io_uring: limit {io|sq}poll submit locking scope
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 17 Dec 2020 00:24:39 +0000 (00:24 +0000)
committerJens Axboe <axboe@kernel.dk>
Thu, 17 Dec 2020 15:40:52 +0000 (08:40 -0700)
commit89448c47b8452b67c146dc6cad6f737e004c5caf
treef527adac664ed71f71c625ec159276411b142b95
parent09e88404f46cc32237f596c66f48a826294e08f2
io_uring: limit {io|sq}poll submit locking scope

We don't need to take uring_lock for SQPOLL|IOPOLL to do
io_cqring_overflow_flush() when cq_overflow_list is empty, remove it
from the hot path.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c