io_uring: optimise io_dismantle_req() fast path
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 19 Mar 2021 17:22:42 +0000 (17:22 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 22 Mar 2021 13:42:53 +0000 (07:42 -0600)
commita0211d2fd63ea4198ade0a5a131049ebeba8a695
tree53ce33f6d9bbedd653e9de8c3197ef8b2ba46bdf
parent4e6928e22b07ed50d1a79208ba3089e38a9eee43
io_uring: optimise io_dismantle_req() fast path

Reshuffle io_dismantle_req() checks to put most of slow path stuff under
a single if.

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