From patchwork Tue Feb 19 11:37:16 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Monakhov X-Patchwork-Id: 221678 Return-Path: X-Original-To: patchwork-incoming@ozlabs.org Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 8C2592C0040 for ; Tue, 19 Feb 2013 22:38:16 +1100 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932229Ab3BSLiM (ORCPT ); Tue, 19 Feb 2013 06:38:12 -0500 Received: from mailhub.sw.ru ([195.214.232.25]:29086 "EHLO relay.sw.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757096Ab3BSLho (ORCPT ); Tue, 19 Feb 2013 06:37:44 -0500 Received: from mct-mail.qa.sw.ru ([10.29.1.112]) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id r1JBbSnF016278; Tue, 19 Feb 2013 15:37:30 +0400 (MSK) From: Dmitry Monakhov Cc: linux-ext4@vger.kernel.org, linux-fsdevel@vger.kernel.org, xfs@oss.sgi.com, david@fromorbit.com, Dmitry Monakhov Subject: [PATCH 04/11] xfstests: hardcode fops for determinable fsstests runs Date: Tue, 19 Feb 2013 15:37:16 +0400 Message-Id: <1361273843-16094-4-git-send-email-dmonakhov@openvz.org> X-Mailer: git-send-email 1.7.7.6 In-Reply-To: <1361273843-16094-1-git-send-email-dmonakhov@openvz.org> References: <1361273843-16094-1-git-send-email-dmonakhov@openvz.org> To: unlisted-recipients:; (no To-header on input) Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org 106,107 and 117 are frozen tests which use known seed, it is reasonable to explicitly hardcode file operations in order to avoid implicit changes caused by future changes in fsstress. NOTE: options genereted like follows: fsstress -S c $ORIG_ARGS Signed-off-by: Dmitry Monakhov --- 106 | 33 +++++++++++++++++++++++++++++++-- 107 | 32 +++++++++++++++++++++++++++++--- 2 files changed, 60 insertions(+), 5 deletions(-) diff --git a/106 b/106 index 8278691..b351fe5 100755 --- a/106 +++ b/106 @@ -61,8 +61,37 @@ _require_prjquota $SCRATCH_DEV # initial populate target=$SCRATCH_MNT/target -$FSSTRESS_PROG -s 0xdeed -m8 -w -p4 -n1000 $FSSTRESS_AVOID -d $target -$FSSTRESS_PROG -s 0xdeed -m8 -z -p4 -n1000 -fsetxattr=500 -fchown=500 -d $target +$FSSTRESS_PROG -z -s 57069 -m 8 -n 1000 -p 4 \ +-f allocsp=1 \ +-f chown=3 \ +-f creat=4 \ +-f dwrite=4 \ +-f fallocate=1 \ +-f fdatasync=1 \ +-f fiemap=1 \ +-f freesp=1 \ +-f fsync=1 \ +-f link=1 \ +-f mkdir=2 \ +-f mknod=2 \ +-f punch=1 \ +-f rename=2 \ +-f resvsp=1 \ +-f rmdir=1 \ +-f setxattr=1 \ +-f symlink=2 \ +-f sync=1 \ +-f truncate=2 \ +-f unlink=1 \ +-f unresvsp=1 \ +-f write=4 \ +-d $target + +$FSSTRESS_PROG -z -s 57069 -m 8 -n 1000 -p 4 \ +-f chown=500 \ +-f setxattr=500 \ +-d $target + # also use space, to be able to go over/under limits easily uid=255 diff --git a/107 b/107 index 74403e6..eaf7e6a 100755 --- a/107 +++ b/107 @@ -78,9 +78,35 @@ echo "6:$target" | tee -a $seq.full > $tmp.projects echo "### populate filesystem" mkdir $target || exit -FSSTRESS_AVOID="$FSSTRESS_AVOID -fmknod=0 -fsymlink=0" -$FSSTRESS_PROG -s 0xfeed -m8 -w -p4 -n1000 $FSSTRESS_AVOID -d $target -$FSSTRESS_PROG -s 0xbabe -m8 -z -p4 -n500 -fsetxattr=250 -fchown=250 -d $target +$FSSTRESS_PROG -z -s 65261 -m 8 -n 1000 -p 4 \ +-f allocsp=1 \ +-f chown=3 \ +-f creat=4 \ +-f dwrite=4 \ +-f fallocate=1 \ +-f fdatasync=1 \ +-f fiemap=1 \ +-f freesp=1 \ +-f fsync=1 \ +-f link=1 \ +-f mkdir=2 \ +-f punch=1 \ +-f rename=2 \ +-f resvsp=1 \ +-f rmdir=1 \ +-f setxattr=1 \ +-f sync=1 \ +-f truncate=2 \ +-f unlink=1 \ +-f unresvsp=1 \ +-f write=4 \ +-d $target + +$FSSTRESS_PROG -z -s 47806 -m 8 -n 500 -p 4 \ +-f chown=250 \ +-f setxattr=250 \ +-d $target + QARGS="-x -D $tmp.projects -P /dev/null $SCRATCH_MNT"