diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-01-24 20:11:02 +0300 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-07-18 17:39:01 +0400 |
commit | 1091006c5eb15cba56785bd5b498a8d0b9546903 (patch) | |
tree | b51fad1bb57284b3eea4308c02652c4888b85860 /include/linux/sunrpc | |
parent | 3e98abffd1665b884a322aedcd528577842f762f (diff) | |
download | linux-1091006c5eb15cba56785bd5b498a8d0b9546903.tar.xz |
nfsd: turn on reply cache for NFSv4
It's sort of ridiculous that we've never had a working reply cache for
NFSv4.
On the other hand, we may still not: our current reply cache is likely
not very good, especially in the TCP case (which is the only case that
matters for v4). What we really need here is some serious testing.
Anyway, here's a start.
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r-- | include/linux/sunrpc/svc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h index ea29330b78bd..2f1e5186e049 100644 --- a/include/linux/sunrpc/svc.h +++ b/include/linux/sunrpc/svc.h @@ -273,6 +273,7 @@ struct svc_rqst { /* Catering to nfsd */ struct auth_domain * rq_client; /* RPC peer info */ struct auth_domain * rq_gssclient; /* "gss/"-style peer info */ + int rq_cachetype; struct svc_cacherep * rq_cacherep; /* cache info */ int rq_splice_ok; /* turned off in gss privacy * to prevent encrypting page |