[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20120223182046.GF19691@redhat.com>
Date: Thu, 23 Feb 2012 13:20:46 -0500
From: Vivek Goyal <vgoyal@...hat.com>
To: Tejun Heo <tj@...nel.org>
Cc: axboe@...nel.dk, ctalbott@...gle.com, rni@...gle.com,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 33/36] block: add io_context->active_ref
On Wed, Feb 22, 2012 at 11:13:47AM -0800, Tejun Heo wrote:
[..]
> It indeed is ugly to have ref, active_ref and nr_tasks tho. If we can
> remove CLONE_IO, nr_tasks will go away with it. Maybe, I don't know.
> Let's see.
I just remembered following commit where a race was fixed and in this
case two processes were sharing io context.
>From 5eb46851de3904cd1be9192fdacb8d34deadc1fc Mon Sep 17 00:00:00 2001
From: Yasuaki Ishimatsu <isimatu.yasuaki@...fujitsu.com>
Date: Fri, 2 Dec 2011 10:07:07 +0100
Subject: [PATCH 1/1] cfq-iosched: fix cfq_cic_link() race confition
Just thought of mentioning here. It shows somebody out there uses
and cares about CLONE_IO.
Thanks
Vivek
--
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