Messages in this thread | | | From | Jeff Moyer <> | Subject | Re: [PATCH][RFC] AIO: always reinitialize iocb->ki_run_list at the end of aio_run_iocb() | Date | Sun, 27 Jun 2010 12:10:32 -0400 |
| |
Sergey Temerkhanov <temerkhanov@cifronik.ru> writes:
> The problem with kick_iocb() is exactly as this: If retry() method > returns -EIOCBQUEUED to aio_run_iocb() then any subsequent call to > kick_iocb() results in failure. Is it expected behavior?
* If ki_retry returns -EIOCBQUEUED it has made a promise that aio_complete() * will be called on the kiocb pointer in the future. The AIO core will * not ask the method again -- ki_retry must ensure forward progress.
Does that answer your question?
Cheers, Jeff
| |