assistant: Batch jobs are now run with ionice and nocache, when those commands are available.

This commit is contained in:
Joey Hess 2013-12-01 14:53:15 -04:00
parent 3c6be8cd6e
commit 4882a611e5
6 changed files with 42 additions and 31 deletions

View file

@ -50,8 +50,9 @@ bundledPrograms = catMaybes
, Just "gunzip"
, Just "tar"
#endif
-- nice and ionice are not included in the bundle; we rely on the
-- system's own version, which may better match its kernel
-- nice, ionice, and nocache are not included in the bundle;
-- we rely on the system's own version, which may better match
-- its kernel, and avoid using them if not available.
]
where
ifset True s = Just s