summaryrefslogtreecommitdiffstats
path: root/include/linux/nfsd/const.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/nfsd/const.h')
-rw-r--r--include/linux/nfsd/const.h4
1 files changed, 2 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 @@
#define NFSSVC_MAXVERS 3
/*
- * Maximum blocksize supported by daemon currently at 32K
+ * Maximum blocksizes supported by daemon under various circumstances.
*/
-#define NFSSVC_MAXBLKSIZE (32*1024)
+#define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD
/* NFSv2 is limited by the protocol specification, see RFC 1094 */
#define NFSSVC_MAXBLKSIZE_V2 (8*1024)
OpenPOWER on IntegriCloud