aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd/commit.c
diff options
context:
space:
mode:
authorVivek Goyal <[email protected]>2011-03-07 20:05:14 +0000
committerJens Axboe <[email protected]>2011-03-07 20:05:14 +0000
commit231d704b4ab7491473c0b1a9cd0c6e0d1cba85b9 (patch)
treea4666d35b6e11f92eb0fc4506bdd7f65185a7aa6 /fs/jbd/commit.c
parentMerge branch 'block-for-2.6.39-core' of ssh://master.kernel.org/pub/scm/linux... (diff)
downloadkernel-231d704b4ab7491473c0b1a9cd0c6e0d1cba85b9.tar.gz
kernel-231d704b4ab7491473c0b1a9cd0c6e0d1cba85b9.zip
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 <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/jbd/commit.c')
0 files changed, 0 insertions, 0 deletions