Steven Whitehouse d1665e4142 [GFS2] Put back O_DIRECT support
This patch adds back O_DIRECT support with various caveats
attached:

 1. Journaled data can be read via O_DIRECT since its now the
    same on disk format as normal data files.
 2. Journaled data writes with O_DIRECT will be failed sliently
    back to normal writes (should we really do this I wonder or
    should we return an error instead?)
 3. Stuffed files will be failed back to normal buffered I/O
 4. All the usual corner cases (write beyond current end of file,
    write to an unallocated block) will also revert to normal buffered I/O.

The I/O path is slightly odd as reads arrive at the page cache layer
with the lock for the file already held, but writes arrive unlocked.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
2006-02-14 11:54:42 +00:00
..
2006-01-18 19:20:22 -08:00
2006-01-11 18:42:13 -08:00
2006-01-14 18:25:19 -08:00
2006-01-11 18:42:13 -08:00
2006-01-16 23:15:31 -08:00
2006-02-14 11:54:42 +00:00
2006-01-18 19:20:23 -08:00
2006-01-18 19:20:16 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-14 10:27:32 -08:00
2006-01-08 20:13:48 -08:00
2006-01-11 18:42:13 -08:00
2006-01-10 08:01:25 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-08 20:12:40 -08:00
2006-01-18 19:20:29 -08:00
2006-01-11 18:42:13 -08:00
2006-01-11 18:42:13 -08:00
2006-01-18 19:20:29 -08:00
2006-01-16 23:15:29 -08:00
2006-01-18 19:20:30 -08:00
2006-01-18 19:20:29 -08:00
2006-01-08 20:13:56 -08:00
2006-01-11 18:42:13 -08:00
2006-01-18 19:20:29 -08:00