Messages in this thread | | | Date | Thu, 23 Feb 2012 13:20:46 -0500 | From | Vivek Goyal <> | 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@jp.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
| |