From: Ian Jackson Subject: [OSSTEST PATCH 1/3] ts-xen-build-prep: Run the backgrounded resize2fs with ionice Date: Wed, 4 Jun 2014 12:30:23 +0100 Message-ID: <1401881425-29990-1-git-send-email-ian.jackson@eu.citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1Ws9Ov-0003Ky-Bu for xen-devel@lists.xenproject.org; Wed, 04 Jun 2014 11:30:37 +0000 List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: xen-devel@lists.xenproject.org Cc: Ian Jackson , Ian Campbell List-Id: xen-devel@lists.xenproject.org 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 --- ts-xen-build-prep | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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