[Devel] vziolimits: lost patch?

Konstantin Khorenko khorenko at odin.com
Wed May 6 06:06:42 PDT 2015


Dima, please take a look:

there was 1 more vziolimit patch (attached),
is it lost or not needed now?

Thank you.

--
Best regards,

Konstantin Khorenko,
Virtuozzo Linux Kernel Team
-------------- next part --------------
Author: Vladimir Davydov
Email: vdavydov at parallels.com
Subject: sched: do not account iothrottled tasks in loadavg
Date: Mon, 22 Oct 2012 14:27:25 +0400


Changes from v1:
 * do not account tasks throttled while doing reclaim too

Signed-off-by: Vladimir Davydov <vdavydov at parallels.com>
Acked-by: Konstantin Khlebnikov <khlebnikov at openvz.org>

---
 kernel/ve/vziolimit.c   |    3 ++-


diff --git a/kernel/ve/vziolimit.c b/kernel/ve/vziolimit.c
index 5df5846..69797a9 100644
--- a/kernel/ve/vziolimit.c
+++ b/kernel/ve/vziolimit.c
@@ -116,7 +116,8 @@ static void iolimit_wait(struct iolimit *iolimit, unsigned long timeout)
 	DEFINE_WAIT(wait);
 
 	do {
-		prepare_to_wait(&iolimit->wq, &wait, TASK_KILLABLE);
+		prepare_to_wait(&iolimit->wq, &wait,
+				TASK_KILLABLE | TASK_IOTHROTTLED);
 		timeout = schedule_timeout(timeout);
 		if (fatal_signal_pending(current))
 			break;

--------------1.7.1--


More information about the Devel mailing list