X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,J_CHICKENPOX_43 autolearn=no version=3.4.0-r929098 Received: from cuda.sgi.com (cuda3.sgi.com [192.48.176.15]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id p0K5F71W028331 for ; Wed, 19 Jan 2011 23:15:07 -0600 X-ASG-Debug-ID: 1295500644-13f300b10000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from ipmail04.adl6.internode.on.net (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 0173019F191A for ; Wed, 19 Jan 2011 21:17:24 -0800 (PST) Received: from ipmail04.adl6.internode.on.net (ipmail04.adl6.internode.on.net [150.101.137.141]) by cuda.sgi.com with ESMTP id ztyCDbZp63nyNiP1 for ; Wed, 19 Jan 2011 21:17:24 -0800 (PST) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAIdRN015LN5m/2dsb2JhbACkS3S9OQ2FQwQ Received: from ppp121-44-222-102.lns20.syd7.internode.on.net (HELO dastard) ([121.44.222.102]) by ipmail04.adl6.internode.on.net with ESMTP; 20 Jan 2011 15:47:22 +1030 Received: from dave by dastard with local (Exim 4.72) (envelope-from ) id 1Pfmtc-0001F6-RA; Thu, 20 Jan 2011 16:17:20 +1100 Date: Thu, 20 Jan 2011 16:17:20 +1100 From: Dave Chinner To: Amit Sahrawat Cc: xfs@oss.sgi.com X-ASG-Orig-Subj: Re: XFS - issues with writes using sync Subject: Re: XFS - issues with writes using sync Message-ID: <20110120051720.GR16267@dastard> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Barracuda-Connect: ipmail04.adl6.internode.on.net[150.101.137.141] X-Barracuda-Start-Time: 1295500646 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.52888 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Status: Clean On Thu, Jan 20, 2011 at 10:34:30AM +0530, Amit Sahrawat wrote: > Hi, > > I am facing issues in XFS for a simple test case. > *Target:* ARM > *Kernel version:* 2.6.35.9 > > *Test case:* > mkfs.xfs -f /dev/sda2 > mount -t xfs /dev/sda2 /mnt/usb/sda2 > (Run script - trying to fragment the XFS formatted partition) > #!/bin/sh > index=0 > while [ "$?" == 0 ] > do > index=$((index+1)) > sync > cp /mnt/usb/sda1/setupfile /mnt/usb/sda2/setupfile.$index > done > > Partition Size on which files are being created - 1GB(I need to fragment > this first to run other cases) > Size of *'setupfile'* - 16K > > There used be no such issues till *2.6.34*(last XFS version where we tried > to create setup). There is no reset involved this time, just simple running > the script caused this issue. You have a known good version, a known bad version and a reproducable test case. i.e. everything you need to run a git bisect and find the commit introduced the regression. Can you do this and tell us what that commit is? Cheers, Dave. -- Dave Chinner david@fromorbit.com