[oe-commits] [openembedded-core] 14/47: classes/rm_work: use the idle I/O scheduler class

git at git.openembedded.org git at git.openembedded.org
Wed Jun 15 17:06:29 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 6025a14dbbd09b2805fe2e17ddc24f2a515cb832
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Tue Jun 14 16:17:46 2016 +0100

    classes/rm_work: use the idle I/O scheduler class
    
    As rm_work is just cleanup it shouldn't starve more important tasks such as
    do_compile of I/O, so use BB_TASK_IONICE_LEVEL to run the task in the idle
    scheduler class.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/classes/rm_work.bbclass | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta/classes/rm_work.bbclass b/meta/classes/rm_work.bbclass
index 3ebf095..3e6c5ac 100644
--- a/meta/classes/rm_work.bbclass
+++ b/meta/classes/rm_work.bbclass
@@ -15,6 +15,9 @@
 # to try and reduce disk usage
 BB_SCHEDULER ?= "completion"
 
+# Run the rm_work task in the idle scheduling class
+BB_TASK_IONICE_LEVEL_task-rm_work = "3.0"
+
 RMWORK_ORIG_TASK := "${BB_DEFAULT_TASK}"
 BB_DEFAULT_TASK = "rm_work_all"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list