io_uring: use completion batching for poll rem/upd
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Dec 2021 22:08:50 +0000 (22:08 +0000)
committerJens Axboe <axboe@kernel.dk>
Tue, 28 Dec 2021 17:51:15 +0000 (09:51 -0800)
commitcc8e9ba71a8626bd322d1945a8fc0c8a52131a63
tree8183a8b1a1668442afb6f6ada138a33a1e6442f9
parenteb0089d629ba413ebf820733ad11b4b2bed45514
io_uring: use completion batching for poll rem/upd

Use __io_req_complete() in io_poll_update(), so we can utilise
completion batching for both update/remove request and the poll
we're killing (if any).

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/e2bdc6c5abd9e9b80f09b86d8823eb1c780362cd.1639605189.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c