All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ext4: require fallocate support to run ext4/307
@ 2014-09-08  4:05 Theodore Ts'o
  0 siblings, 0 replies; only message in thread
From: Theodore Ts'o @ 2014-09-08  4:05 UTC (permalink / raw)
  To: fstests; +Cc: linux-ext4, Theodore Ts'o, Dmitry Monakhov

Some file system configurations don't support fallocate, which is
required for e4defrag to run.  So add a _require_xfs_io_command to
prevent a test failure if fallocate isn't supported in (for example)
ext3 compatibility mode.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Cc: Dmitry Monakhov <dmonakhov@openvz.org>
---
 tests/ext4/307 | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/ext4/307 b/tests/ext4/307
index 081f819..673b9ce 100755
--- a/tests/ext4/307
+++ b/tests/ext4/307
@@ -64,6 +64,7 @@ _supported_os Linux
 _need_to_be_root
 _require_scratch
 _require_defrag
+_require_xfs_io_command "falloc"
 
 _scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seqres.full 2>&1
 _scratch_mount
-- 
2.1.0


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-09-08  4:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-08  4:05 [PATCH] ext4: require fallocate support to run ext4/307 Theodore Ts'o

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.