Re: [PATCH 6/9] aio: delete iocbs from the active_reqs list in kiocb_cancel

2018-03-21 Thread Darrick J. Wong
On Wed, Mar 21, 2018 at 08:32:29AM +0100, Christoph Hellwig wrote: > One we cancel an iocb there is no reason to keep it on the active_reqs > list, given that the list is only used to look for cancelation candidates. > > Signed-off-by: Christoph Hellwig > Acked-by: Jeff Moyer Looks ok, Reviewed

Re: [PATCH 6/9] aio: delete iocbs from the active_reqs list in kiocb_cancel

2018-03-21 Thread Greg KH
On Wed, Mar 21, 2018 at 08:32:29AM +0100, Christoph Hellwig wrote: > One we cancel an iocb there is no reason to keep it on the active_reqs > list, given that the list is only used to look for cancelation candidates. > > Signed-off-by: Christoph Hellwig > Acked-by: Jeff Moyer Reviewed-by: Greg

[PATCH 6/9] aio: delete iocbs from the active_reqs list in kiocb_cancel

2018-03-21 Thread Christoph Hellwig
One we cancel an iocb there is no reason to keep it on the active_reqs list, given that the list is only used to look for cancelation candidates. Signed-off-by: Christoph Hellwig Acked-by: Jeff Moyer --- fs/aio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/aio.c b