commit | b47d19de2c714020ba8f5545a6e7d4968f37eb45 | [log] [tgz] |
---|---|---|
author | Arun Bharadwaj <arun@linux.vnet.ibm.com> | Thu Nov 18 10:36:43 2010 +0000 |
committer | Trond Myklebust <Trond.Myklebust@netapp.com> | Mon Nov 22 13:24:42 2010 -0500 |
tree | 546161934b37b1dd4901f2752387fee6542a224a | |
parent | 5fc43978a79e8021c189660ab63249fd29c5fb32 [diff] |
Pure nfs client performance using odirect. When an application opens a file with O_DIRECT flag, if the size of the data that is written is equal to wsize, the client sends a WRITE RPC with stable flag set to UNSTABLE followed by a single COMMIT RPC rather than sending a single WRITE RPC with the stable flag set to FILE_SYNC. This a bug. Patch to fix this. Signed-off-by: Arun R Bharadwaj <arun@linux.vnet.ibm.com> Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>