From 39ee57ea5760c13d9e892c6a057ee7913f818d34 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 24 Jul 2008 14:43:37 +0000 Subject: Bug #206773 - Add a new PORTAGE_IONICE_COMMAND variable that emerge uses to adjust ionice priority, similar to PORTAGE_NICENESS but used more like FETCHCOMMAND since so that portage doesn't have to know anything about ionice options. The command should include a \${PID} place-holder to be substituted with an integer pid. svn path=/main/trunk/; revision=11182 --- cnf/make.globals | 3 +++ 1 file changed, 3 insertions(+) (limited to 'cnf') diff --git a/cnf/make.globals b/cnf/make.globals index 594278f19..0b29536fe 100644 --- a/cnf/make.globals +++ b/cnf/make.globals @@ -62,6 +62,9 @@ PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" # Minimum size of existing file for RESUMECOMMAND to be called. PORTAGE_FETCH_RESUME_MIN_SIZE="350K" +# Command called to adjust the io priority of portage and it's subprocesses. +PORTAGE_IONICE_COMMAND="ionice -c 2 -n 7 -p \${PID}" + # Number of times 'emerge --sync' will run before giving up. PORTAGE_RSYNC_RETRIES="3" -- cgit v1.2.3-1-g7c22