io_uring: don't acquire uring_lock twice
authorXiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Thu, 12 Nov 2020 06:56:00 +0000 (14:56 +0800)
committerJens Axboe <axboe@kernel.dk>
Wed, 9 Dec 2020 19:04:00 +0000 (12:04 -0700)
commit906a3c6f9ca072e917c701f7421647e169740954
tree9fd664240120e036fe64481088762648d9714a3b
parenta0d9205f7d36bf72279f34a93850fd14789fdc7e
io_uring: don't acquire uring_lock twice

Both IOPOLL and sqes handling need to acquire uring_lock, combine
them together, then we just need to acquire uring_lock once.

Signed-off-by: Xiaoguang Wang <xiaoguang.wang@linux.alibaba.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c