commit | f80a50a632d6f5c64729563892b0deb95d563f6d | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Oct 14 16:10:13 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Tue Oct 19 05:49:55 2021 -0600 |
tree | ec3932c6b5d075881254f649fcf05fdd05d59ba7 | |
parent | 04f34081c5de35749274cf3bea8d8eb1c79b6ad1 [diff] |
io_uring: prioritise read success path over fails Rearrange io_read return handling so first we expect it completing successfully and only then checking for errors, which is a colder path. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/c91c7c2da11815ec8b04b5d872f60dc4cde662c5.1634144845.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>