cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters
Subsystems (2)
PATCH 1/1 cifs: allow cifs_max_pending to be readable under /sys/module/cifs/parameters
--- fs/cifs/cifsfs.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
fs/cifs/cifsfs.c +1 -1
@@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0);MODULE_PARM_DESC (cifs_min_small,"Small network buffers in pool. Default: 30 " "Range: 2 to 256" );unsigned int cifs_max_pending =CIFS_MAX_REQ ; -module_param (cifs_max_pending, int,0 ); +module_param (cifs_max_pending, int,0444 );MODULE_PARM_DESC (cifs_max_pending,"Simultaneous requests to server. " "Default: 50 Range: 2 to 256" );unsigned short echo_retries =5 ;
Signature · 1 line
1.7.6.4
With the proposed cifs.ko fix to honor maxmpx, cifs_max_pending because a limit when the server (as Windows often is) has more than 50
maxmpxct in its registry. Does anyone mind if I update the maximum
to one or two hundred? (after the mpx fix is in)?
Quoted 22 lines · Jeff Layton
Signed-off-by Jeff Layton <[email protected]>---
fs/cifs/cifsfs.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/cifsfs.c +0
-0@@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0);MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 " "Range: 2 to 256");
unsigned intcifs_max_pending=CIFS_MAX_REQ;fs/cifs/cifsfs.c +1
-1-module_param (cifs_max_pending, int,0 ); +module_param (cifs_max_pending, int,0444 );MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. " "Default: 50 Range: 2 to 256"); unsigned short
echo_retries= 5;
--
1.7.6.4
Signature · 3 lines
Thanks, Steve
typo - I meant:
With the proposed cifs.ko fix to honor maxmpx, cifs_max_pending becomes a limit when the server ...
Quoted 35 lines · Steve French
(as Windows often is) has more than 50
maxmpxct in its registry. Does anyone mind if I update the maximum to one or two hundred? (after the mpx fix is in)?Quoted 15 lines · Jeff Layton
Signed-off-by Jeff Layton <[email protected]>---
fs/cifs/cifsfs.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/cifsfs.c +0
-0@@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0);MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 " "Range: 2 to 256");
unsigned intcifs_max_pending=CIFS_MAX_REQ;fs/cifs/cifsfs.c +1
-1-module_param (cifs_max_pending, int,0 ); +module_param (cifs_max_pending, int,0444 );Quoted 7 lines
MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. " "Default: 50 Range: 2 to 256"); unsigned short
echo_retries= 5;
--
1.7.6.4--
Thanks,Steve
Signature · 3 lines
Thanks, Steve
Quoted 5 lines · On Wed, 19 Oct 2011 16:31:15 -0500 Steve French…
With the proposed cifs.ko fix to honor maxmpx,
cifs_max_pendingbecause a limit when the server (as Windows often is) has more than 50
maxmpxct in its registry. Does anyone mind if I update the maximum
to one or two hundred? (after the mpx fix is in)?
Ummm...what proposed fix? I've not seen that patch cross the list. Did I miss it?
Quoted 26 lines · Jeff Layton
Quoted 22 lines
Signed-off-by Jeff Layton <[email protected]>---
fs/cifs/cifsfs.c | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)fs/cifs/cifsfs.c +0
-0@@ -74,7 +74,7 @@ module_param(cifs_min_small, int, 0);MODULE_PARM_DESC(cifs_min_small, "Small network buffers in pool. Default: 30 " "Range: 2 to 256");
unsigned intcifs_max_pending=CIFS_MAX_REQ;fs/cifs/cifsfs.c +1
-1-module_param (cifs_max_pending, int,0 ); +module_param (cifs_max_pending, int,0444 );MODULE_PARM_DESC(cifs_max_pending, "Simultaneous requests to server. " "Default: 50 Range: 2 to 256"); unsigned short
echo_retries= 5;
--
1.7.6.4
Signature · 1 line
Jeff Layton <[email protected]>
Quoted 11 lines · Jeff Layton
Quoted 5 lines · On Wed, 19 Oct 2011 16:31:15 -0500 Steve French…
With the proposed cifs.ko fix to honor maxmpx,
cifs_max_pendingbecause a limit when the server (as Windows often is) has more than 50 maxmpxct in its registry. Does anyone mind if I update the maximum to one or two hundred? (after the mpx fix is in)?Ummm...what proposed fix? I've not seen that patch cross the list. Did I miss it?
well ... you asked me to rename one of the flags so I am pretty sure you saw it. I plan to repost it - although it is a little less important now that we realize
that the Windows problem can occur even when mpx is 50 (still it is good to honor the server limit).
Signature · 3 lines
Thanks, Steve
Quoted 10 lines · On Wed, 19 Oct 2011 20:32:47 -0500 Steve French…
Quoted 9 lines · Jeff Layton
Quoted 5 lines · On Wed, 19 Oct 2011 16:31:15 -0500 Steve French…
With the proposed cifs.ko fix to honor maxmpx,
cifs_max_pendingbecause a limit when the server (as Windows often is) has more than 50 maxmpxct in its registry. Does anyone mind if I update the maximum to one or two hundred? (after the mpx fix is in)?
Quoted 9 lines
Quoted 2 lines
Ummm...what proposed fix? I've not seen that patch cross the list. Did I miss it?
well ... you asked me to rename one of the flags so I am pretty sure you saw it. I plan to repost it - although it is a little less important now that we realize
that the Windows problem can occur even when mpx is 50 (still it is good to honor the server limit).
Ahh ok. That wasn't sent to the list so I didn't know you were "officially" proposing that patch. I'd suggest you do so to ensure that others who weren't on the cc list have a chance to review it.
Signature · 1 line
Jeff Layton <[email protected]>