From: Tejun Heo Date: Mon, 5 Mar 2012 21:15:04 +0000 (-0800) Subject: blkcg: add blkio_policy[] array and allow one policy per policy ID X-Git-Tag: v3.5-rc1~42^2~82 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=035d10b2fa7e5f7e9bf9465dbc39c35affd5ac32;p=pandora-kernel.git blkcg: add blkio_policy[] array and allow one policy per policy ID Block cgroup policies are maintained in a linked list and, theoretically, multiple policies sharing the same policy ID are allowed. This patch temporarily restricts one policy per plid and adds blkio_policy[] array which indexes registered policy types by plid. Both the restriction and blkio_policy[] array are transitional and will be removed once API cleanup is complete. Signed-off-by: Tejun Heo Cc: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed