Skip to content
Commit 84ebd795 authored by Theodore Ts'o's avatar Theodore Ts'o
Browse files

ext4: fake direct I/O mode for data=journal



Currently attempts to open a file with O_DIRECT in data=journal mode
causes the open to fail with -EINVAL.  This makes it very hard to test
data=journal mode.  So we will let the open succeed, but then always
fall back to O_DSYNC buffered writes.

Signed-off-by: default avatar"Theodore Ts'o" <tytso@mit.edu>
parent 1cd9f097
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment