From: Ian Jackson Date: Wed, 4 Jun 2014 11:24:06 +0000 (+0100) Subject: ts-xen-build-prep: Run the backgrounded resize2fs with ionice X-Git-Tag: wip.xsm-13-actual.base~186 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=ee31a32af1fc9a38ad08b4a36ee69e1c58ea0828;p=people%2Fliuw%2Fosstest.git ts-xen-build-prep: Run the backgrounded resize2fs with ionice We wrap this in ionice -cBest-Effort -n7 This is an attempt to stop resize2fs from starving builds of IO bandwidth. We have been seeing that some IO-intensive build steps (notably, configure) can take unreasonable amounts of time and we suspect resize2fs as the culprit. Signed-off-by: Ian Jackson --- diff --git a/ts-xen-build-prep b/ts-xen-build-prep index 0e68cd3..05a7857 100755 --- a/ts-xen-build-prep +++ b/ts-xen-build-prep @@ -159,7 +159,10 @@ sub lvextend1 ($$$) { if (!$background) { target_cmd_root($ho, $cmd, $timeout); } else { - target_cmd_root($ho, "$cmd >>resizefs.log 2>&1 >resizefs.log 2>&1