fs/affs/file.c: add support to O_DIRECT
authorFabian Frederick <fabf@skynet.be>
Sat, 13 Dec 2014 00:57:52 +0000 (16:57 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 13 Dec 2014 20:42:51 +0000 (12:42 -0800)
commit9abb408307008a19be5719bbf1d069bb3ed7aa60
treeebd4358e5fdf9561a42c8cec11a6f3b994646948
parent1ee54b099acecb928bc76ea4beca668697b4a4d0
fs/affs/file.c: add support to O_DIRECT

Based on ext2_direct_IO

Tested with O_DIRECT file open and sysbench/mariadb with 1% written
queries improvement (update_non_index test) on a volume created with
mkaffs.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/affs/file.c