Re: [PATCH] xfstests: don't assume that falloc_punch implies falloc in test 255

Rich Johnston
2013-03-05T19:08:54Z

This patch has been committed.

Thanks
--Rich

commit 864688d368d6781c3f6d60bc55b5e3591953e462
Author: Theodore Ts'o <tytso@mit.edu>
Date: Tue Mar 5 17:59:42 2013 +0000

xfstests: don't assume that falloc_punch implies falloc in test 255

As of Linux 3.9-rc1, ext4 will support the punch operation on file
systems using indirect blocks, but it can not support the fallocate
operation (since there is no way to mark a block as uninitialized
using indirect block scheme). This caused test 255 to fail, since it
only used _require_xfS_io_falloc_punch assuming that all file systems
which supported punch can also support fallocate. Fix this.