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>
Sun, 4 Apr 2021 21:27:24 +0000 (15:27 -0600)
commitc4405dee37b84d9a00bd4be0c5993dd2ce86b496
tree0e0cc7394051dd75041c1ba098f15102a1d04717
parenta1ff22baad600617c33b46982e2b9939fe5e6da6
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