[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1298995464.461.9.camel@tp-t61>
Date: Tue, 01 Mar 2011 10:04:24 -0600
From: Nathan Lynch <ntl@...ox.com>
To: Jeff Moyer <jmoyer@...hat.com>
Cc: linux-kernel@...r.kernel.org,
containers@...ts.linux-foundation.org,
Oren Laadan <orenl@...columbia.edu>, linux-aio@...ck.org
Subject: Re: [PATCH 02/10] Introduce mm_has_pending_aio() helper
On Tue, 2011-03-01 at 10:40 -0500, Jeff Moyer wrote:
>
> ntl@...ox.com writes:
>
> > From: Nathan Lynch <ntl@...ox.com>
> >
> > Support for AIO is on the to-do list, but until that is implemented,
> > checkpoint will have to fail if a mm_struct has outstanding AIO
> > contexts. Add a mm_has_pending_aio() helper function for this
> > purpose.
>
> Just because a process has an io context, doesn't mean that the process
> has active outstanding requests. So, is this really what you wanted to
> test?
As a temporary measure, yeah. We haven't settled on code to
record/restore the io context objects themselves, so we do want to bail
if we encounter any. I realize now the name of the function doesn't
actually express this well. Will try to come up with something better
for the next round.
Thanks!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists