Skip to contentSkip to conversation

cifs: update README about the kernel module parameters

PATCH Superseded Suresh Jayaraman 3 participants 3 messages Oct 12, 2011 – Oct 13, 2011 2 messages not in the archive

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

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
index c5c2c5e..95b37a1 100644
@@ -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].
 
#2 lore raw
In reply to a message not in the archive
Quoted 14 lines · On Wed, 12 Oct 2011 11:52:01 +0530 Suresh Jayaraman…
---
 fs/cifs/README |   14 ++++++++++++++
 1 files changed, 14 insertions(+), 0 deletions(-)
fs/cifs/README +0 -0
index c5c2c5e..95b37a1 100644
@@ -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 -0
 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>
+

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]>
#4 lore raw
In reply to a message not in the archive
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