diff options
Diffstat (limited to 'include/linux/nfsd')
-rw-r--r-- | include/linux/nfsd/const.h | 4 | ||||
-rw-r--r-- | include/linux/nfsd/nfsd.h | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h index adbddf007898..f478066f9cd5 100644 --- a/include/linux/nfsd/const.h +++ b/include/linux/nfsd/const.h | |||
@@ -21,9 +21,9 @@ | |||
21 | #define NFSSVC_MAXVERS 3 | 21 | #define NFSSVC_MAXVERS 3 |
22 | 22 | ||
23 | /* | 23 | /* |
24 | * Maximum blocksize supported by daemon currently at 32K | 24 | * Maximum blocksizes supported by daemon under various circumstances. |
25 | */ | 25 | */ |
26 | #define NFSSVC_MAXBLKSIZE (32*1024) | 26 | #define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD |
27 | /* NFSv2 is limited by the protocol specification, see RFC 1094 */ | 27 | /* NFSv2 is limited by the protocol specification, see RFC 1094 */ |
28 | #define NFSSVC_MAXBLKSIZE_V2 (8*1024) | 28 | #define NFSSVC_MAXBLKSIZE_V2 (8*1024) |
29 | 29 | ||
diff --git a/include/linux/nfsd/nfsd.h b/include/linux/nfsd/nfsd.h index e1dbc86c270b..259841bb2f6c 100644 --- a/include/linux/nfsd/nfsd.h +++ b/include/linux/nfsd/nfsd.h | |||
@@ -145,6 +145,7 @@ int nfsd_vers(int vers, enum vers_op change); | |||
145 | void nfsd_reset_versions(void); | 145 | void nfsd_reset_versions(void); |
146 | int nfsd_create_serv(void); | 146 | int nfsd_create_serv(void); |
147 | 147 | ||
148 | extern int nfsd_max_blksize; | ||
148 | 149 | ||
149 | /* | 150 | /* |
150 | * NFSv4 State | 151 | * NFSv4 State |