Lines Matching full:retry

579  * queue a task_work based retry of the operation, attempting to copy the data
581 * do a thread based blocking retry of the operation. That's the unexpected
605 * based retry. If we return false here, the request is handed to the async
606 * worker threads for retry. If we're doing buffered reads on a regular file,
607 * we prepare a private wait_page_queue entry and retry the operation. This
610 * that callback, io_uring uses task_work to setup a retry of the operation.
611 * That retry will attempt the buffered read again. The retry will generally
613 * async worker threads for a blocking retry.
622 /* never retry for NOWAIT, we just complete with -EAGAIN */ in io_rw_should_retry()
686 * If the file is marked O_NONBLOCK, still allow retry for it if it in io_rw_init_file()
688 * reliably. If not, or it IOCB_NOWAIT is set, don't retry. in io_rw_init_file()
732 * buffers, as we dropped the selected one before retry. in io_read()
782 /* IOPOLL retry should happen for io-wq threads */ in io_read()
785 /* no retry on NONBLOCK nor RWF_NOWAIT */ in io_read()
795 /* read all, failed, already did sync or don't want to retry */ in io_read()
832 /* if we can retry, do so with the callbacks armed */ in io_read()
840 * Now retry read with the IOCB_WAITQ parts set in the iocb. If in io_read()
843 * here, and if we do, then just retry at the new offset. in io_read()
848 /* we got some bytes, but not all. retry. */ in io_read()
930 * retry them without IOCB_NOWAIT. in io_write()
934 /* no retry on NONBLOCK nor RWF_NOWAIT */ in io_write()
938 /* IOPOLL retry should happen for io-wq threads */ in io_write()