Nice the janitorial dds as well as ionicing them. 0.4.0
authorEvan Broder <broder@mit.edu>
Sun, 16 Aug 2009 03:12:26 +0000 (23:12 -0400)
committerEvan Broder <broder@mit.edu>
Sun, 16 Aug 2009 03:12:26 +0000 (23:12 -0400)
svn path=/trunk/packages/invirt-remote/; revision=2446

host/usr/sbin/invirt-janitor

index 6edcca9..5d8f4ed 100755 (executable)
@@ -55,6 +55,7 @@ def cleanup():
             subprocess.call(['/usr/bin/ionice',
                              '-c', '2',
                              '-n', '7',
+                             '/usr/bin/nice',
                              '/bin/dd',
                              'if=/dev/zero',
                              'of=%s' % lv_path,