[Top] [All Lists]

Re: XFS - issues with writes using sync

To: Amit Sahrawat <amit.sahrawat83@xxxxxxxxx>
Subject: Re: XFS - issues with writes using sync
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Thu, 20 Jan 2011 16:17:20 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <AANLkTin22efc0cHSmM+2rNQpE2aJoobQCnMwbNUjw617@xxxxxxxxxxxxxx>
References: <AANLkTin22efc0cHSmM+2rNQpE2aJoobQCnMwbNUjw617@xxxxxxxxxxxxxx>
User-agent: Mutt/1.5.20 (2009-06-14)
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:*
> *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?


Dave Chinner

<Prev in Thread] Current Thread [Next in Thread>