summaryrefslogtreecommitdiff
path: root/fs/cifs
diff options
context:
space:
mode:
authorSuresh Jayaraman <sjayaraman@suse.com>2011-10-12 11:52:01 +0530
committerSteve French <smfrench@gmail.com>2011-10-12 23:42:09 -0500
commitc9c4708fdf63d26e3fdfc65bba9e82e654cae285 (patch)
tree15e567830032cf66aceb73402e8ea63d7cb5141e /fs/cifs
parente75047344ea415760b2508a6fa29c0288c7b6b68 (diff)
downloadlwn-c9c4708fdf63d26e3fdfc65bba9e82e654cae285.tar.gz
lwn-c9c4708fdf63d26e3fdfc65bba9e82e654cae285.zip
cifs: update README about the kernel module parameters
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>
Diffstat (limited to 'fs/cifs')
-rw-r--r--fs/cifs/README14
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/cifs/README b/fs/cifs/README
index c5c2c5e5f0f2..95b37a1d58f2 100644
--- a/fs/cifs/README
+++ b/fs/cifs/README
@@ -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].