[Devel] [PATCH RHEL7 COMMIT] vziolimit: port diff-vziolimit-dont-change-state-at-speed-change

Konstantin Khorenko khorenko at odin.com
Tue May 5 02:44:42 PDT 2015


The commit is pushed to "branch-rh7-3.10.0-123.1.2-ovz" and will appear at https://src.openvz.org/scm/ovz/vzkernel.git
after rh7-3.10.0-123.1.2.vz7.4.9
------>
commit 3cbd2017bcb15367f6fa56d273f0d3a292eb9cab
Author: Dmitry Monakhov <dmonakhov at openvz.org>
Date:   Tue May 5 13:44:42 2015 +0400

    vziolimit: port diff-vziolimit-dont-change-state-at-speed-change
    
    vziolimit: dont change state at speed change
    
    This "freeze" from comment actually does not exist.
    Otherwise we get io activity peak after each speed change.
    
    Signed-off-by: Konstantin Khlebnikov <khlebnikov at openvz.org>
    
    ====================================
    https://jira.sw.ru/browse/PSBM-20104
    
    Signed-off-by: Dmitry Monakhov <dmonakhov at openvz.org>
---
 kernel/ve/vziolimit.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/kernel/ve/vziolimit.c b/kernel/ve/vziolimit.c
index 473e2b7..367fb68 100644
--- a/kernel/ve/vziolimit.c
+++ b/kernel/ve/vziolimit.c
@@ -35,9 +35,6 @@ static void throttle_setup(struct throttle *th, unsigned speed,
 	th->time = jiffies;
 	th->burst = burst;
 	th->latency = msecs_to_jiffies(latency);
-	/* feed throttler to avoid freezing */
-	if (th->state < burst)
-		th->state = burst;
 	wmb();
 	th->speed = speed;
 }



More information about the Devel mailing list