diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-07-24 14:43:37 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-07-24 14:43:37 +0000 |
commit | 39ee57ea5760c13d9e892c6a057ee7913f818d34 (patch) | |
tree | 9b5ffb3e52325e0ec56cc0d37c7e865cc57a6c98 /cnf | |
parent | Bug #228117 - Insert a trailing newline in the getconfig() input file as (diff) | |
download | portage-idfetch-39ee57ea5760c13d9e892c6a057ee7913f818d34.tar.gz portage-idfetch-39ee57ea5760c13d9e892c6a057ee7913f818d34.tar.bz2 portage-idfetch-39ee57ea5760c13d9e892c6a057ee7913f818d34.zip |
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
Diffstat (limited to 'cnf')
-rw-r--r-- | cnf/make.globals | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cnf/make.globals b/cnf/make.globals index 594278f1..0b29536f 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" |