Re: [PATCH 33/36] block: add io_context->active_ref
From: Vivek Goyal
Date: Thu Feb 23 2012 - 13:20:57 EST
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.