From: Tejun Heo Date: Mon, 5 Mar 2012 21:15:26 +0000 (-0800) Subject: block: add io_context->active_ref X-Git-Tag: v3.5-rc1~42^2~60 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6e8d01bee036460e03bd4f6a79d014f98ba712e;p=pandora-kernel.git block: add io_context->active_ref Currently ioc->nr_tasks is used to decide two things - whether an ioc is done issuing IOs and whether it's shared by multiple tasks. This patch separate out the first into ioc->active_ref, which is acquired and released using {get|put}_io_context_active() respectively. This will be used to associate bio's with a given task. This patch doesn't introduce any visible behavior change. Signed-off-by: Tejun Heo Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed