[PATCH 1/4] xfstests: check unwritten extent preallocation in 255

Zheng Liu gnehzuil.liu at gmail.com
Mon Jan 28 01:32:48 CST 2013


From: Zheng Liu <wenqing.lz at taobao.com>

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 <wenqing.lz at taobao.com>
Cc: "Theodore Ts'o" <tytso at mit.edu>
Cc: Dave Chinner <david at fromorbit.com>
---
 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
 
-- 
1.7.12.rc2.18.g61b472e



More information about the xfs mailing list