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, 25 Jan 2021 15:18:37 +0000 (08:18 -0700)
commitf3ee5ddc412d631a01661a65413ea83f2b3f5cbe
tree2af03a716eec2527422967b4ad4f60b2d7e1f8c1
parent0176222dfad0fd223c65b5045aab2e7077574d9f
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