From: Theodore Ts'o Date: Wed, 31 Aug 2011 15:56:51 +0000 (-0400) Subject: ext4: fake direct I/O mode for data=journal X-Git-Tag: v3.2-rc1~85^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84ebd795613488992b273220c2937d575d27d2a9;p=pandora-kernel.git 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" --- Reading git-diff-tree failed