diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-03-09 16:46:07 -0700 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-03-10 09:45:57 -0700 |
commit | 9af177ee3ef14c17ef10893c257fa4e2008a3d74 (patch) | |
tree | b1fb630dc31f45bfce11595af171c49576288d8b /ipc | |
parent | adc8682ec69012b68d5ab7123e246d2ad9a6f94b (diff) |
io_uring: retry early for reads if we can poll
Most of the logic in io_read() deals with regular files, and in some ways
it would make sense to split the handling into S_IFREG and others. But
at least for retry, we don't need to bother setting up a bunch of state
just to abort in the loop later. In particular, don't bother forcing
setup of async data for a normal non-vectored read when we don't need it.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'ipc')
0 files changed, 0 insertions, 0 deletions