Li Dongyang 6b933c8e6f ocfs2: Avoid direct write if we fall back to buffered I/O
when we fall back to buffered write from direct write, we call
__generic_file_aio_write() but that will end up doing direct write
even we are only prepared to do buffered write because the file
has the O_DIRECT flag set. This is a fix for
https://bugzilla.novell.com/show_bug.cgi?id=591039
revised with Joel's comments.

Signed-off-by: Li Dongyang <lidongyang@novell.com>
Acked-by: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Joel Becker <joel.becker@oracle.com>
2010-04-30 13:45:13 -07:00
..
2009-10-28 23:05:57 -07:00
2009-09-22 20:09:36 -07:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2009-09-22 20:09:37 -07:00
2009-10-28 23:05:57 -07:00
2008-10-13 13:57:57 -07:00
2008-02-03 17:33:42 +02:00
2009-09-22 20:09:51 -07:00
2008-01-25 15:05:46 -08:00
2009-10-28 23:05:57 -07:00