diff options
Diffstat (limited to 'fs/nfs/callback.h')
-rw-r--r-- | fs/nfs/callback.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/nfs/callback.h b/fs/nfs/callback.h index 9b907f408b8d..29123b5604f2 100644 --- a/fs/nfs/callback.h +++ b/fs/nfs/callback.h | |||
@@ -70,6 +70,13 @@ extern void nfs_callback_down(void); | |||
70 | #define nfs_callback_down() do {} while(0) | 70 | #define nfs_callback_down() do {} while(0) |
71 | #endif | 71 | #endif |
72 | 72 | ||
73 | /* | ||
74 | * nfs41: Callbacks are expected to not cause substantial latency, | ||
75 | * so we limit their concurrency to 1 by setting up the maximum number | ||
76 | * of slots for the backchannel. | ||
77 | */ | ||
78 | #define NFS41_BC_MIN_CALLBACKS 1 | ||
79 | |||
73 | extern unsigned int nfs_callback_set_tcpport; | 80 | extern unsigned int nfs_callback_set_tcpport; |
74 | extern unsigned short nfs_callback_tcpport; | 81 | extern unsigned short nfs_callback_tcpport; |
75 | extern unsigned short nfs_callback_tcpport6; | 82 | extern unsigned short nfs_callback_tcpport6; |