cifs: update README about the kernel module parameters
authorSuresh Jayaraman <sjayaraman@suse.com>
Wed, 12 Oct 2011 06:22:01 +0000 (11:52 +0530)
committerSteve French <smfrench@gmail.com>
Thu, 13 Oct 2011 04:42:09 +0000 (23:42 -0500)
Reported-by: Alexander Swen <alex@swen.nu>
Cc: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
Signed-off-by: Steve French <smfrench@gmail.com>
fs/cifs/README

index c5c2c5e..95b37a1 100644 (file)
@@ -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].