From: Tejun Heo Date: Mon, 5 Mar 2012 21:15:28 +0000 (-0800) Subject: block: make block cgroup policies follow bio task association X-Git-Tag: v3.5-rc1~42^2~58 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f85cb96d9d2fbbb7160db855a6beee1baced5e5;p=pandora-kernel.git block: make block cgroup policies follow bio task association Implement bio_blkio_cgroup() which returns the blkcg associated with the bio if exists or %current's blkcg, and use it in blk-throttle and cfq-iosched propio. This makes both cgroup policies honor task association for the bio instead of always assuming %current. As nobody is using bio_set_task() yet, this doesn't introduce any behavior change. Signed-off-by: Tejun Heo Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed