]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: ext4 doesn't support O_DIRECT with encryption
authorTheodore Ts'o <tytso@mit.edu>
Wed, 29 Jun 2016 01:32:55 +0000 (21:32 -0400)
committerEryu Guan <eguan@redhat.com>
Thu, 30 Jun 2016 15:02:52 +0000 (23:02 +0800)
commit9b154b26e4a1d6d4b8d0ccf388bb2b9312eb7a76
treec7d1e0b554f8bc2f4ce3e11f22140ef3454a57af
parent78f071b94959673c91b16a5961245d802ec16240
common/rc: ext4 doesn't support O_DIRECT with encryption

Teach _require_odirect to skip the O_DIRECT tests if the ext4 mount
option "test_dummy_encryption" is enabled, since O_DIRECT doesen't
make sense when file system level encryption is enabled, and several
tests which use O_DIRECT --- ext4/301, ext4/304, generic/250 and
generic/252 --- fail when encryption is enabled.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Reviewed-by: Eryu Guan <eguan@redhat.com>
Signed-off-by: Eryu Guan <eguan@redhat.com>
common/rc