mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Louis Rilling <Louis.Rilling@kerlabs.com>
To: Jens Axboe <jens.axboe@oracle.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: [RFC] block: io_context refcount fixes
Date: Fri, 4 Dec 2009 17:03:11 +0100	[thread overview]
Message-ID: <20091204160311.GK2430@hawkmoon.kerlabs.com> (raw)
In-Reply-To: <20091204153443.GH8742@kernel.dk>

[-- Attachment #1: Type: text/plain, Size: 821 bytes --]

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 #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

      reply	other threads:[~2009-12-04 16:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-04 13:52 Louis Rilling
2009-12-04 13:52 ` [PATCH 1/2] block: Fix io_context leak after clone with CLONE_IO Louis Rilling
2009-12-04 13:52 ` [PATCH 2/2] block: Fix io_context leak after failure of " Louis Rilling
2009-12-04 15:34 ` [RFC] block: io_context refcount fixes Jens Axboe
2009-12-04 16:03   ` Louis Rilling [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091204160311.GK2430@hawkmoon.kerlabs.com \
    --to=louis.rilling@kerlabs.com \
    --cc=jens.axboe@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®