lkml.org 
[lkml]   [2012]   [Dec]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 04/32] aio: remove retry-based AIO
From
On Thu, Dec 27, 2012 at 9:59 AM, Kent Overstreet <koverstreet@google.com> wrote:
> - /*
> - * This is so that aio_complete knows it doesn't need to
> - * pull the iocb off the run list (We can't just call
> - * INIT_LIST_HEAD because we don't want a kick_iocb to
> - * queue this on the run list yet)
> - */
> - iocb->ki_run_list.next = iocb->ki_run_list.prev = NULL;

The tricky, list.next = NULL, is erased here, but it is reused in one of
the subsequent patches, why?

Hillf


\
 
 \ /
  Last update: 2012-12-29 09:21    [W:0.409 / U:0.060 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site