Thread (33 messages) 33 messages, 4 authors, 2018-03-22

Re: [PATCH 5/9] aio: simplify cancellation

From: Greg KH <gregkh@linuxfoundation.org>
Date: 2018-03-21 09:17:11
Also in: linux-fsdevel, lkml

On Wed, Mar 21, 2018 at 08:32:28AM +0100, Christoph Hellwig wrote:
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 for magic cmpxchg loops either.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Jeff Moyer <redacted>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help