xfs
[Top] [All Lists]

Re: [PATCH] xfstests: make 275 xfs specific.

To: Tao Ma <tm@xxxxxx>
Subject: Re: [PATCH] xfstests: make 275 xfs specific.
From: Dave Chinner <david@xxxxxxxxxxxxx>
Date: Sun, 6 May 2012 09:37:44 +1000
Cc: xfs@xxxxxxxxxxx
In-reply-to: <1336230429-2939-1-git-send-email-tm@xxxxxx>
References: <1336230429-2939-1-git-send-email-tm@xxxxxx>
User-agent: Mutt/1.5.21 (2010-09-15)
On Sat, May 05, 2012 at 11:07:09PM +0800, Tao Ma wrote:
> From: Tao Ma <boyu.mt@xxxxxxxxxx>
> 
> 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?

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?

Cheers,

Dave.
-- 
Dave Chinner
david@xxxxxxxxxxxxx

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