From patchwork Tue Dec 16 15:56:27 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Theodore Ts'o X-Patchwork-Id: 5501371 Return-Path: X-Original-To: patchwork-fstests@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 5B09A9F1D4 for ; Tue, 16 Dec 2014 15:56:33 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 9D4E920A23 for ; Tue, 16 Dec 2014 15:56:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C5E8020A22 for ; Tue, 16 Dec 2014 15:56:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751125AbaLPP4b (ORCPT ); Tue, 16 Dec 2014 10:56:31 -0500 Received: from imap.thunk.org ([74.207.234.97]:58993 "EHLO imap.thunk.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750936AbaLPP4a (ORCPT ); Tue, 16 Dec 2014 10:56:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=thunk.org; s=ef5046eb; h=Message-Id:Date:Subject:Cc:To:From; bh=JFXoFha8Dg0w+K2VGfHo0gcWwexmIr11ky7BZfDaQiw=; b=H/F8Lkyg9OrBpjU/Nhqcum4/F5xmLRin8RhAVln/Yscu4gosSh/5i0hMEh/O04nxbjAMs02Wb/rjQ9WchegtOhmbVr1/F8cl+cfTfD4UBYUjLBHOiGarvUZfz8KcCBhSBRa8SQVeZEHJXMhnwQwI0a4Rt7XR43cjvABCT9jGy2o=; Received: from root (helo=closure.thunk.org) by imap.thunk.org with local-esmtp (Exim 4.80) (envelope-from ) id 1Y0uUA-00012D-AQ; Tue, 16 Dec 2014 15:56:30 +0000 Received: by closure.thunk.org (Postfix, from userid 15806) id C2B6D5801CE; Tue, 16 Dec 2014 10:56:30 -0500 (EST) From: Theodore Ts'o To: fstests@vger.kernel.org Cc: Theodore Ts'o Subject: [PATCH] ext4/004: limit the amount of data written so test runs faster Date: Tue, 16 Dec 2014 10:56:27 -0500 Message-Id: <1418745387-27930-1-git-send-email-tytso@mit.edu> X-Mailer: git-send-email 2.1.0 X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: tytso@thunk.org X-SA-Exim-Scanned: No (on imap.thunk.org); SAEximRunCond expanded to false Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Previously this test was taking 6-7 minutes, and writing half a gigabyte of data in the dump/restore test directory. Change this to be about 60 megs, and to take ~20 seconds. Signed-off-by: Theodore Ts'o --- tests/ext4/004 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ext4/004 b/tests/ext4/004 index b24b627..68f02b6 100755 --- a/tests/ext4/004 +++ b/tests/ext4/004 @@ -49,7 +49,7 @@ restore_dir=$TEST_DIR/dump_restore_dir workout() { echo "Run fsstress" >> $seqres.full - args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 1000 -p 15 -d $dump_dir` + args=`_scale_fsstress_args -z -f creat=5 -f write=20 -f mkdir=5 -n 100 -p 15 -d $dump_dir` echo "fsstress $args" >> $seqres.full $FSSTRESS_PROG $args >> $seqres.full 2>&1