Re: [RFC] block: io_context refcount fixes

From: Louis Rilling
Date: Fri Dec 04 2009 - 11:03:19 EST


On 04/12/09 16:34 +0100, Jens Axboe wrote:
> On Fri, Dec 04 2009, Louis Rilling wrote:
> >
> > Hi,
> >
> > When reading copy_io() I found probable refcounting issues with shared
> > io_context. IIUC, the following two patches could fix those issues.
> > If I am correct, then those fixes should go to stable too.
> >
> > Based on v2.6.32 and compile-tested only.
>
> Thanks, those both look correct. I will apply them, but please also do
> whatever testing that caused you to find this in the first place (or was
> it code inspection)?

Yes this was code inspection. I have no testcase for CLONE_IO.

Thanks,

Louis

--
Dr Louis Rilling Kerlabs
Skype: louis.rilling Batiment Germanium
Phone: (+33|0) 6 80 89 08 23 80 avenue des Buttes de Coesmes
http://www.kerlabs.com/ 35700 Rennes

Attachment: signature.asc
Description: Digital signature