Re: [PATCH 28/32] aio: simplify cancellation

2018-01-10 Thread Jeff Moyer
Christoph Hellwig writes: > With the current aio code there is no need for the magic KIOCB_CANCELLED > value, as a cancelation just kicks the driver to queue the completion > ASAP, with all actual completion handling done in another thread. Given > that both the completion path and cancelation ta

[PATCH 28/32] aio: simplify cancellation

2018-01-10 Thread Christoph Hellwig
With the current aio code there is no need for the magic KIOCB_CANCELLED value, as a cancelation just kicks the driver to queue the completion ASAP, with all actual completion handling done in another thread. Given that both the completion path and cancelation take the context lock there is no need