Christoph Hellwig <hch@xxxxxx> writes: > 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 <hch@xxxxxx> Acked-by: Jeff Moyer <jmoyer@xxxxxxxxxx>