Re: [PATCH 07/36] aio: add delayed cancel support

2018-03-20 Thread Christoph Hellwig
On Mon, Mar 19, 2018 at 08:19:57PM -0700, Darrick J. Wong wrote: > On Mon, Mar 05, 2018 at 01:27:14PM -0800, Christoph Hellwig wrote: > > The upcoming aio poll support would like to be able to complete the > > iocb inline from the cancellation context, but that would cause > > a lock order

Re: [PATCH 07/36] aio: add delayed cancel support

2018-03-19 Thread Darrick J. Wong
On Mon, Mar 05, 2018 at 01:27:14PM -0800, Christoph Hellwig wrote: > The upcoming aio poll support would like to be able to complete the > iocb inline from the cancellation context, but that would cause > a lock order reversal. Add support for optionally moving the cancelation > outside the

[PATCH 07/36] aio: add delayed cancel support

2018-03-05 Thread Christoph Hellwig
The upcoming aio poll support would like to be able to complete the iocb inline from the cancellation context, but that would cause a lock order reversal. Add support for optionally moving the cancelation outside the context lock to avoid this reversal. Signed-off-by: Christoph Hellwig

[PATCH 07/36] aio: add delayed cancel support

2018-01-22 Thread Christoph Hellwig
The upcoming aio poll support would like to be able to complete the iocb inline from the cancellation context, but that would cause a lock order reversal. Add support for optionally moving the cancelation outside the context lock to avoid this reversal. Signed-off-by: Christoph Hellwig

[PATCH 07/36] aio: add delayed cancel support

2018-01-17 Thread Christoph Hellwig
The upcoming aio poll support would like to be able to complete the iocb inline from the cancellation context, but that would cause a lock order reversal. Add support for optionally moving the cancelation outside the context lock to avoid this reversal. Signed-off-by: Christoph Hellwig