Re: [PATCH] aio: clean up aio ring in the fail path

From: Benjamin LaHaise
Date: Fri Dec 06 2013 - 10:36:09 EST


On Fri, Dec 06, 2013 at 10:34:13AM -0500, Dave Jones wrote:
> On Fri, Dec 06, 2013 at 10:26:54AM -0500, Benjamin LaHaise wrote:
> > On Wed, Dec 04, 2013 at 06:19:06PM +0800, Gu Zheng wrote:
> > > Clean up the aio ring file in the fail path of aio_setup_ring
> > > and ioctx_alloc. And maybe it can fix the GPF issue reported by
> > > Dave Jones:
> > > https://lkml.org/lkml/2013/11/25/898
> >
> > Good catch. I've applied this to my aio-next tree. It does indeed look
> > like it could be the cause of Dave's GPF -- I'll try to trigger it with
> > some other kernel debug options on and see if the EAGAIN failure case can
> > trip it up.
>
> I think I forgot to reply and let you know this seems to fix it for me.

Excellent! I'll send this out and get it queued up for -stable as well.

-ben

> Dave

--
"Thought is the essence of where you are now."
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/