From patchwork Mon Jan 28 07:32:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/4] xfstests: check unwritten extent preallocation in 255 From: Zheng Liu X-Patchwork-Id: 216117 Message-Id: <1359358371-21411-2-git-send-email-wenqing.lz@taobao.com> To: xfs@oss.sgi.com, linux-ext4@vger.kernel.org Cc: Zheng Liu , "Theodore Ts'o" , Dave Chinner Date: Mon, 28 Jan 2013 15:32:48 +0800 From: Zheng Liu 255 misses call _require_xfs_io_falloc to check whether a filesystem supports fallocate(2) to preallocate unwritten extents or not. Signed-off-by: Zheng Liu Cc: "Theodore Ts'o" Cc: Dave Chinner --- 255 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/255 b/255 index 0083963..700c3c0 100755 --- a/255 +++ b/255 @@ -1,7 +1,7 @@ #! /bin/bash # FS QA Test No. 255 # -# Test Generic fallocate hole punching +# Test Generic fallocate hole punching w/ unwritten extent # #----------------------------------------------------------------------- # Copyright (c) 2010 Red Hat. All Rights Reserved. @@ -47,6 +47,7 @@ trap "_cleanup ; exit \$status" 0 1 2 3 15 _supported_fs generic _supported_os Linux +_require_xfs_io_falloc _require_xfs_io_falloc_punch _require_xfs_io_fiemap