From: Vivek Goyal Date: Mon, 7 Mar 2011 20:05:14 +0000 (+0100) Subject: blk-throttle: process limit change only through one function X-Git-Tag: v2.6.39-rc1~80^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=231d704b4ab7491473c0b1a9cd0c6e0d1cba85b9;p=pandora-kernel.git blk-throttle: process limit change only through one function With the help of cgroup interface one can go and upate the bps/iops limits of existing group. Once the limits are udpated, a thread is woken up to see if some blocked group needs recalculation based on new limits and needs to be requeued. There was also a piece of code where I was checking for group limit update when a fresh bio comes in. This patch gets rid of that piece of code and keeps processing the limit change at one place throtl_process_limit_change(). It just keeps the code simple and easy to understand. Signed-off-by: Vivek Goyal Signed-off-by: Jens Axboe --- Reading git-diff-tree failed