lkml.org 
[lkml]   [2018]   [Mar]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 5/9] aio: simplify cancellation
    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 <jmoyer@redhat.com>

    Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

    \
     
     \ /
      Last update: 2018-03-21 10:17    [W:4.112 / U:0.060 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site