~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise-proposed

« back to all changes in this revision

Viewing changes to fs/cifs/cifsfs.c

  • Committer: Package Import Robot
  • Author(s): Luke Yelavich, Luke Yelavich, Upstream Kernel Changes
  • Date: 2012-04-04 18:49:36 UTC
  • Revision ID: package-import@ubuntu.com-20120404184936-tqu735914muv4wpg
Tags: 3.2.0-22.30
[ Luke Yelavich ]

* [Config] Update configs after rebase against Ubuntu-3.2.0-22.35

[ Upstream Kernel Changes ]

* Low-latency: Rebase against Ubuntu-3.2.0-22.35

Show diffs side-by-side

added added

removed removed

Lines of Context:
76
76
unsigned int cifs_max_pending = CIFS_MAX_REQ;
77
77
module_param(cifs_max_pending, int, 0444);
78
78
MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. "
79
 
                                   "Default: 50 Range: 2 to 256");
 
79
                                   "Default: 32767 Range: 2 to 32767.");
80
80
unsigned short echo_retries = 5;
81
81
module_param(echo_retries, ushort, 0644);
82
82
MODULE_PARM_DESC(echo_retries, "Number of echo attempts before giving up and "
1116
1116
        if (cifs_max_pending < 2) {
1117
1117
                cifs_max_pending = 2;
1118
1118
                cFYI(1, "cifs_max_pending set to min of 2");
1119
 
        } else if (cifs_max_pending > 256) {
1120
 
                cifs_max_pending = 256;
1121
 
                cFYI(1, "cifs_max_pending set to max of 256");
 
1119
        } else if (cifs_max_pending > CIFS_MAX_REQ) {
 
1120
                cifs_max_pending = CIFS_MAX_REQ;
 
1121
                cFYI(1, "cifs_max_pending set to max of %u", CIFS_MAX_REQ);
1122
1122
        }
1123
1123
 
1124
1124
        rc = cifs_fscache_register();