From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p5R5n8md050379 for ; Mon, 27 Jun 2011 00:49:08 -0500 Received: from ipmail07.adl2.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 1AB9A30408 for ; Sun, 26 Jun 2011 22:49:07 -0700 (PDT) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [150.101.137.131]) by cuda.sgi.com with ESMTP id 7aGcAfAYb1OCZ6ER for ; Sun, 26 Jun 2011 22:49:07 -0700 (PDT) Received: from chute ([192.168.1.1] helo=disappointment) by dastard with esmtp (Exim 4.72) (envelope-from ) id 1Qb4gx-0004J5-18 for xfs@oss.sgi.com; Mon, 27 Jun 2011 15:49:03 +1000 Received: from dave by disappointment with local (Exim 4.76) (envelope-from ) id 1Qb4gg-0000Ku-To for xfs@oss.sgi.com; Mon, 27 Jun 2011 15:48:46 +1000 From: Dave Chinner Subject: [PATCH 4/4] xfstests: add mapped write fsx operations to 091 Date: Mon, 27 Jun 2011 15:48:42 +1000 Message-Id: <1309153722-1231-5-git-send-email-david@fromorbit.com> In-Reply-To: <1309153722-1231-1-git-send-email-david@fromorbit.com> References: <1309153722-1231-1-git-send-email-david@fromorbit.com> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: xfs-bounces@oss.sgi.com Errors-To: xfs-bounces@oss.sgi.com To: xfs@oss.sgi.com From: Dave Chinner The recent busted fsx updates caused fsx to execute fsx with direct IO and mmapped reads and writes on an XFS filesystem. The result uncovered a direct-IO write vs mmap read bug to do with EOF sub-block zeroing on the direct IO write. Hence whiel we do not recommend that pepole mix DIO with mmap on the same file, we should at least have tests that exercise it as they often show up other problems like this. Signed-off-by: Dave Chinner --- 091 | 3 +++ 091.out | 2 ++ 2 files changed, 5 insertions(+), 0 deletions(-) diff --git a/091 b/091 index a13d979..11b599e 100755 --- a/091 +++ b/091 @@ -88,6 +88,9 @@ kernel=`uname -r | sed -e 's/\(2\..\).*/\1/'` #run_fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t PSIZE -w PSIZE -Z -W run_fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W + run_fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z + run_fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z + # Commented out calls above are less likely to pick up issues, so # save time by commenting them out (leave 'em for manual testing). diff --git a/091.out b/091.out index 31bd25d..27ed1e3 100644 --- a/091.out +++ b/091.out @@ -5,3 +5,5 @@ fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W fsx -N 10000 -o 32768 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -R -W fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -W +fsx -N 10000 -o 8192 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z +fsx -N 10000 -o 128000 -l 500000 -r PSIZE -t BSIZE -w BSIZE -Z -- 1.7.5.1 _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs