• J
    io_uring: retry early for reads if we can poll · 9af177ee
    Jens Axboe 提交于
    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: NJens Axboe <axboe@kernel.dk>
    9af177ee
io_uring.c 291.4 KB