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>
# "-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
_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"