cifs: update README about the kernel module parameters
Subsystems (2)
PATCH v2 3/3 cifs: update README about the kernel module parameters
--- fs/cifs/README | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)
fs/cifs/README +14 -0
@@ -745,4 +745,18 @@ installed and something like the following lines should be added to the create cifs.spnego * * /usr/local/sbin/cifs.upcall %k create dns_resolver * * /usr/local/sbin/cifs.upcall %k +CIFS kernel module parameters +============================= +These module parameters can be specified or modified either during the time of +module loading or during the runtime by using the interface + /proc/module/cifs/parameters/<param> + +i.e. echo "value" > /proc/module/cifs/parameters/<param> + +1. echo_retries - The number of echo attempts before giving up and + reconnecting to the server. The default is 5. The value 0 + means never reconnect. + +2. enable_oplocks - Enable or disable oplocks. Oplocks are enabled by default. + [Y/y/1]. To disable use any of [N/n/0].
A message that is not in the archive (sent off-list or not yet received): 4E953209.2020602-IBi9RG/[email protected]
Quoted 14 lines · On Wed, 12 Oct 2011 11:52:01 +0530 Suresh Jayaraman…
Reported-by Alexander Swen <[email protected]>Cc Jeff Layton <[email protected]>Signed-off-by Suresh Jayaraman <[email protected]>--- fs/cifs/README | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-)fs/cifs/README +0
-0@@ -745,4 +745,18 @@ installed and something like the following lines should be added to the create cifs.spnego * * /usr/local/sbin/cifs.upcall %k
fs/cifs/README installed and something like the following lines should be added to the · line 755
Quoted 10 lines
fs/cifs/README +8
-0create dns_resolver * * /usr/local/sbin/cifs.upcall %k +CIFS kernel module parameters +============================= +These module parameters can be specified or modified either during the time of +module loading or during the runtime by using the interface + /proc/module/cifs/parameters/<param> + +i.e. echo "value" > /proc/module/cifs/parameters/<param> +
Doh! As Steve pointed out -- the above path is wrong. That should be /sys/module/cifs/parameters/...
I think Steve said he'd just do a simple patch to fix that though...
Quoted 11 lines
fs/cifs/README +6
-1+1. echo_retries - The number of echo attempts before giving up and + reconnecting to the server. The default is 5. The value 0 + means never reconnect. + +2. enable_oplocks - Enable or disable oplocks. Oplocks are enabled by default. + [Y/y/1]. To disable use any of [N/n/0]. --To unsubscribe from this list: send the line "unsubscribe linux-cifs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 1 line
Jeff Layton <[email protected]>
A message that is not in the archive (sent off-list or not yet received): 20111012202801.63519ad9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org
Quoted 15 lines · Jeff Layton
fs/cifs/README installed and something like the following lines should be added to the · line 755
Quoted 8 lines · On Wed, 12 Oct 2011 11:52:01 +0530 Suresh Jayaraman…
fs/cifs/README +8
-0+CIFS kernel module parameters +============================= +These module parameters can be specified or modified either during the time of +module loading or during the runtime by using the interface + /proc/module/cifs/parameters/<param> + +i.e. echo "value" > /proc/module/cifs/parameters/<param> +Doh! As Steve pointed out -- the above path is wrong. That should be
/sys/module/cifs/parameters/...
Quoted 1 line
I think Steve said he'd just do a simple patch to fix that though...
Yes - fixed now.
Signature · 3 lines
Thanks, Steve