]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4d32e3d7852941933396cd4761b4167143fe70f7
treea70e58c743b5d6288ea5088021b8aa0220053ab9
parented14b4487bd36d60c6aa33d0e7ccc40e28dea464
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