commit | 84ebd795613488992b273220c2937d575d27d2a9 | [log] [tgz] |
---|---|---|
author | Theodore Ts'o <tytso@mit.edu> | Wed Aug 31 11:56:51 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Wed Aug 31 11:56:51 2011 -0400 |
tree | 102201c078c73d911f0a1eb656ee057fe2806489 | |
parent | 1cd9f0976aa4606db8d6e3dc3edd0aca8019372a [diff] |
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: "Theodore Ts'o" <tytso@mit.edu>