diff options
author | Trond Myklebust <trond.myklebust@fys.uio.no> | 2009-06-05 12:35:15 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@citi.umich.edu> | 2009-06-15 18:14:57 -0700 |
commit | 48e03bc515cff75718de5460458680a230ae997e (patch) | |
tree | d8c3095c15e362e574b82b962ebf26f7589dc412 /drivers/lguest/lg.h | |
parent | 7eef4091a653c243a87e5375c54504cc03bec4d8 (diff) |
nfsd: Use write gathering only with NFSv2
NFSv3 and above can use unstable writes whenever they are sending more
than one write, rather than relying on the flaky write gathering
heuristics. More often than not, write gathering is currently getting it
wrong when the NFSv3 clients are sending a single write with FILE_SYNC
for efficiency reasons.
This patch turns off write gathering for NFSv3/v4, and ensures that
it only applies to the one case that can actually benefit: namely NFSv2.
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Diffstat (limited to 'drivers/lguest/lg.h')
0 files changed, 0 insertions, 0 deletions