Signed-off-by: Theodore Ts'o <tytso@xxxxxxx> --- common/rc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/common/rc b/common/rc index 2ccca3b..961601b 100644 --- a/common/rc +++ b/common/rc @@ -1916,6 +1916,10 @@ _require_xfs_db_command() # check that kernel and filesystem support direct I/O _require_odirect() { + if [ $FSTYP = "ext4" ] && + echo "$MOUNT_OPTIONS" | grep -q "test_dummy_encryption" ; then + _notrun "ext4 encryption doesn't support O_DIRECT" + fi testfile=$TEST_DIR/$$.direct $XFS_IO_PROG -F -f -d -c "pwrite 0 20k" $testfile > /dev/null 2>&1 if [ $? -ne 0 ]; then -- 2.5.0 -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html