lkml.org 
[lkml]   [2012]   [Feb]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [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


\
 
 \ /
  Last update: 2012-02-23 19:23    [W:0.053 / U:8.972 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site