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>
Thu, 25 Mar 2021 16:24:24 +0000 (10:24 -0600)
commitbee0dc2a9532b6f5db1a46c5b524c85c6df953cf
tree666232174d7d706e0d9943366d4d1073511d7586
parent333b12e8effcd851fe060e110a660b9f46bad9e3
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