]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commitdiff
ext4/034: adjust commit which fixes the problem tested by ext4/034
authorTheodore Ts'o <tytso@mit.edu>
Wed, 26 Dec 2018 16:08:05 +0000 (11:08 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sat, 29 Dec 2018 05:09:08 +0000 (13:09 +0800)
Also add a requirment that fallocate and fiemap is supported.
(Fallocate isn't the case when we are emulating ext3, for example.)

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Liu Bo <obuil.liubo@gmail.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/ext4/034

index 5c34d0d99a66a2ec6dfc40a332e5e1282c2af4f8..f9e4bfafb61ee9c35ca4e64f2d972bd25246830b 100755 (executable)
@@ -8,7 +8,7 @@
 # "-o dioread_nolock,nodelalloc" is used.
 #
 # The bug was fixed by commit
-# "Ext4: fix ENOSPC when both quota and dioread_nolock are enabled"
+# "ext4: make sure enough credits are reserved for dioread_nolock writes"
 #
 seq=`basename $0`
 seqres=$RESULT_DIR/$seq
@@ -41,6 +41,8 @@ _supported_os Linux
 _require_scratch
 _require_quota
 _require_nobody
+_require_xfs_io_command "falloc"
+_require_xfs_io_command "fiemap"
 _require_xfs_io_command "syncfs"
 
 echo "Format and mount"