Files
kernel-tenderloin-3.0/include
Trond Myklebust fad6149041 nfs: Use UNSTABLE + COMMIT for NFS O_DIRECT writes
Currently NFS O_DIRECT writes use FILE_SYNC so that a COMMIT is not
necessary.  This simplifies the internal logic, but this could be a
difficult workload for some servers.

Instead, let's send UNSTABLE writes, and after they all complete, send a
COMMIT for the dirty range.  After the COMMIT returns successfully, then do
the wake_up or fire off aio_complete().

Test plan:
Async direct I/O tests against Solaris (or any server that requires
committed unstable writes).  Reboot server during test.

Based on an earlier patch by Chuck Lever <cel@netapp.com>

Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
2006-03-20 13:44:36 -05:00
..
2006-01-31 03:25:09 -05:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-02-15 15:32:22 -08:00
2006-03-19 13:20:06 -08:00