From mboxrd@z Thu Jan 1 00:00:00 1970 From: Josef Bacik Subject: Re: [btrfs/i_size] xfstests generic/299 TFAIL Date: Thu, 30 Jan 2014 16:52:25 -0500 Message-ID: <52EAC999.7070609@fb.com> References: <20140130035440.GB12017@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Cc: Al Viro , , "linux-btrfs@vger.kernel.org" , LKML To: Fengguang Wu , Steven Whitehouse Return-path: In-Reply-To: <20140130035440.GB12017@localhost> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org On 01/29/2014 10:54 PM, Fengguang Wu wrote: > Hi Steven, > > We noticed xfstests generic/299 TFAIL on btrfs since > > commit 9fe55eea7e4b444bafc42fa0000cc2d1d2847275 > Author: Steven Whitehouse > AuthorDate: Fri Jan 24 14:42:22 2014 +0000 > Commit: Al Viro > CommitDate: Sun Jan 26 08:26:42 2014 -0500 > > Fix race when checking i_size on direct i/o read > Ok this took a bit but it's because truncate() can fail on btrfs and the test didn't take this into account. I'll send a patch for the test. Thanks, Josef