commit | 3d4aeb9f98058c3bdfef5286e240cf18c50fee89 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Wed Nov 10 15:49:33 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 24 11:17:53 2021 -0700 |
tree | 247e0136427a62faff8447d9b477c20a0839e391 | |
parent | 04c76b41ca974b508522831441dd7e5b1b59cbb0 [diff] |
io_uring: don't spinlock when not posting CQEs When no of queued for the batch completion requests need to post an CQE, see IOSQE_CQE_SKIP_SUCCESS, avoid grabbing ->completion_lock and other commit/post. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/8d4b4a08bca022cbe19af00266407116775b3e4d.1636559119.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>