io_uring: optimise io_rw_reissue()
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:34 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commitbf6182b6d46e28c3e59b9c0d6097b379cae56b94
treea70e58c743b5d6288ea5088021b8aa0220053ab9
parent00835dce1406e746fe5ab8c522cceb9594c78acb
io_uring: optimise io_rw_reissue()

The hot path is IO completing on the first try. Reshuffle io_rw_reissue() so
it's checked first.

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