[PATCH V2 12/13] blk-throttle: restore shrinked cgroup share

2016-02-22 Thread Shaohua Li
If a cgroup share gets shrinked but the cgroup hits its limit, the shrink isn't optimal, we restore its original share. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/block/blk-throttle.c

[PATCH V2 12/13] blk-throttle: restore shrinked cgroup share

2016-02-22 Thread Shaohua Li
If a cgroup share gets shrinked but the cgroup hits its limit, the shrink isn't optimal, we restore its original share. Signed-off-by: Shaohua Li --- block/blk-throttle.c | 13 - 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/block/blk-throttle.c