Re: [PATCH] aio: only suppress events from cancelled kiocbs if free_ioctx() is in progress

2013-02-13 Thread Kent Overstreet
On Wed, Feb 13, 2013 at 04:52:14PM -0500, Benjamin LaHaise wrote: > The io_cancel() syscall allows for cancellation of iocbs in flight to > generate a completion event. The current behaviour of batch_complete_aio() > is to suppress all completion events. Some types of asynchronous operations > ca

[PATCH] aio: only suppress events from cancelled kiocbs if free_ioctx() is in progress

2013-02-13 Thread Benjamin LaHaise
The io_cancel() syscall allows for cancellation of iocbs in flight to generate a completion event. The current behaviour of batch_complete_aio() is to suppress all completion events. Some types of asynchronous operations cannot be cancelled synchronously, and must generate a completion event at s