From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 q8B2Mxa1256294 for ; Mon, 10 Sep 2012 21:22:59 -0500 Received: from mail.sandeen.net (sandeen.net [63.231.237.45]) by cuda.sgi.com with ESMTP id mmuWKEWIKDEj0nm5 for ; Mon, 10 Sep 2012 19:24:02 -0700 (PDT) Message-ID: <504EA0C2.2060601@sandeen.net> Date: Mon, 10 Sep 2012 21:24:02 -0500 From: Eric Sandeen MIME-Version: 1.0 Subject: Re: [PATCH] xfstests: make 275 xfs specific. References: <1336230429-2939-1-git-send-email-tm@tao.ma> <20120505233744.GE25351@dastard> <4FA692B7.9040006@tao.ma> <504A511A.8090209@sandeen.net> In-Reply-To: <504A511A.8090209@sandeen.net> List-Id: XFS Filesystem from SGI List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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: Tao Ma Cc: xfs@oss.sgi.com On 9/7/12 2:55 PM, Eric Sandeen wrote: > On 5/6/12 10:03 AM, Tao Ma wrote: >> On 05/06/2012 07:37 AM, Dave Chinner wrote: >>> On Sat, May 05, 2012 at 11:07:09PM +0800, Tao Ma wrote: >>>> From: Tao Ma >>>> >>>> In my test with ext4, 275 can't pass because ext4 >>>> can create a 8k file in the end not like what xfs >>>> does. So make this test case xfs only for now. >>> >>> It's not an XFS specific test - it's a test that is supposed to test >>> POSIX write behaviour. i.e. if the filesystem is full, and then you >>> free 4k of space, then an 8k write should only be able to write 4k, >>> yes? >> Yes, but it doesn't work as expected for ext4. > > Came across this thread again. I had patches on the list a while ago > to fix it up. > > [PATCH V2] xfstests: make 275 pass > > But it never got fully reviewed or merged. :( It's reviewed & merged now. Does it fix things for you? (I hope?) -Eric > -Eric > >>> So doesn't a failure on ext4 indicate that there's something wrong >>> with ext4 (either it's ENOSPC detection or the short write >>> handling), not the test? >> Actually in my test, ext4 can create the file with 8K file size, not a >> short write. I haven't looked into it yet. But AFAICS, if we have an >> ext4 volume with 8k cluster size, a 4k file can occupy a 8k cluster and >> the final write of 8k will succeed instead of the short write. >> >> Thanks >> Tao >> >> _______________________________________________ >> xfs mailing list >> xfs@oss.sgi.com >> http://oss.sgi.com/mailman/listinfo/xfs >> > > _______________________________________________ > xfs mailing list > xfs@oss.sgi.com > http://oss.sgi.com/mailman/listinfo/xfs > _______________________________________________ xfs mailing list xfs@oss.sgi.com http://oss.sgi.com/mailman/listinfo/xfs