tests: gfs2 also supports FIEMAP
authorJim Meyering <meyering@redhat.com>
Mon, 31 Jan 2011 14:20:29 +0000 (15:20 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 31 Jan 2011 14:20:29 +0000 (15:20 +0100)
* tests/init.cfg (fiemap_capable_): Add gfs2.
Clarify comment.

tests/init.cfg

index fa15aa4..b2d1bab 100644 (file)
@@ -295,11 +295,13 @@ require_proc_pid_status_()
     kill $pid
 }
 
-# Return nonzero if the specified directory is on a file system
-# for which FIEMAP support exists.
+# Return nonzero if the specified directory is on a file system for
+# which FIEMAP support exists, and the file system type is new enough
+# (unlike ext2 and ext3) that it is hard to find an instance *without*
+# FIEMAP support.
 fiemap_capable_()
 {
-  df -T -t btrfs -t xfs -t ext4 -t ocfs2 "$@"
+  df -T -t btrfs -t xfs -t ext4 -t ocfs2 -t gfs2 "$@"
 }
 
 # Does the current (working-dir) file system support sparse files?