|
@@ -76,7 +76,7 @@ MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 "
|
|
unsigned int cifs_max_pending = CIFS_MAX_REQ;
|
|
unsigned int cifs_max_pending = CIFS_MAX_REQ;
|
|
module_param(cifs_max_pending, int, 0444);
|
|
module_param(cifs_max_pending, int, 0444);
|
|
MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. "
|
|
MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. "
|
|
- "Default: 50 Range: 2 to 256");
|
|
|
|
|
|
+ "Default: 32767 Range: 2 to 32767.");
|
|
unsigned short echo_retries = 5;
|
|
unsigned short echo_retries = 5;
|
|
module_param(echo_retries, ushort, 0644);
|
|
module_param(echo_retries, ushort, 0644);
|
|
MODULE_PARM_DESC(echo_retries, "Number of echo attempts before giving up and "
|
|
MODULE_PARM_DESC(echo_retries, "Number of echo attempts before giving up and "
|
|
@@ -1116,9 +1116,9 @@ init_cifs(void)
|
|
if (cifs_max_pending < 2) {
|
|
if (cifs_max_pending < 2) {
|
|
cifs_max_pending = 2;
|
|
cifs_max_pending = 2;
|
|
cFYI(1, "cifs_max_pending set to min of 2");
|
|
cFYI(1, "cifs_max_pending set to min of 2");
|
|
- } else if (cifs_max_pending > 256) {
|
|
|
|
- cifs_max_pending = 256;
|
|
|
|
- cFYI(1, "cifs_max_pending set to max of 256");
|
|
|
|
|
|
+ } else if (cifs_max_pending > CIFS_MAX_REQ) {
|
|
|
|
+ cifs_max_pending = CIFS_MAX_REQ;
|
|
|
|
+ cFYI(1, "cifs_max_pending set to max of %u", CIFS_MAX_REQ);
|
|
}
|
|
}
|
|
|
|
|
|
rc = cifs_fscache_register();
|
|
rc = cifs_fscache_register();
|