Hi Steven,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,
We noticed xfstests generic/299 TFAIL on btrfs since
commit 9fe55eea7e4b444bafc42fa0000cc2d1d2847275
Author: Steven Whitehouse <swhiteho@xxxxxxxxxx>
AuthorDate: Fri Jan 24 14:42:22 2014 +0000
Commit: Al Viro <viro@xxxxxxxxxxxxxxxxxx>
CommitDate: Sun Jan 26 08:26:42 2014 -0500
Fix race when checking i_size on direct i/o read