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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Zheng Liu <wenqing.lz@xxxxxxxxxx>

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@xxxxxxxxxx>
Cc: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: Dave Chinner <david@xxxxxxxxxxxxx>
---
 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

_______________________________________________
xfs mailing list
xfs@xxxxxxxxxxx
http://oss.sgi.com/mailman/listinfo/xfs


[Index of Archives]     [Linux XFS Devel]     [Linux Filesystem Development]     [Filesystem Testing]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux