* [PATCH v2 3/3] cifs: update README about the kernel module parameters
@ 2011-10-12 6:22 Suresh Jayaraman
[not found] ` <4E953209.2020602-IBi9RG/b67k@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Suresh Jayaraman @ 2011-10-12 6:22 UTC (permalink / raw)
To: Steve French; +Cc: linux-cifs, Jeff Layton, Alexander Swen
Reported-by: Alexander Swen <alex-UE4+9DRHXtc@public.gmane.org>
Cc: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Signed-off-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
---
fs/cifs/README | 14 ++++++++++++++
1 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/fs/cifs/README b/fs/cifs/README
index c5c2c5e..95b37a1 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].
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/3] cifs: update README about the kernel module parameters
[not found] ` <4E953209.2020602-IBi9RG/b67k@public.gmane.org>
@ 2011-10-13 0:28 ` Jeff Layton
[not found] ` <20111012202801.63519ad9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
0 siblings, 1 reply; 3+ messages in thread
From: Jeff Layton @ 2011-10-13 0:28 UTC (permalink / raw)
To: Suresh Jayaraman; +Cc: Steve French, linux-cifs, Alexander Swen
On Wed, 12 Oct 2011 11:52:01 +0530
Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org> wrote:
>
> Reported-by: Alexander Swen <alex-UE4+9DRHXtc@public.gmane.org>
> Cc: Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
> Signed-off-by: Suresh Jayaraman <sjayaraman-l3A5Bk7waGM@public.gmane.org>
> ---
> fs/cifs/README | 14 ++++++++++++++
> 1 files changed, 14 insertions(+), 0 deletions(-)
>
> diff --git a/fs/cifs/README b/fs/cifs/README
> index c5c2c5e..95b37a1 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>
> +
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...
> +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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v2 3/3] cifs: update README about the kernel module parameters
[not found] ` <20111012202801.63519ad9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
@ 2011-10-13 1:20 ` Steve French
0 siblings, 0 replies; 3+ messages in thread
From: Steve French @ 2011-10-13 1:20 UTC (permalink / raw)
To: Jeff Layton; +Cc: Suresh Jayaraman, linux-cifs, Alexander Swen
On Wed, Oct 12, 2011 at 7:28 PM, Jeff Layton <jlayton-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> On Wed, 12 Oct 2011 11:52:01 +0530
> Suresh Jayaraman <sjayaraman-IBi9RG/b67k@public.gmane.org> wrote:
>
>> +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...
Yes - fixed now.
--
Thanks,
Steve
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-10-13 1:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-12 6:22 [PATCH v2 3/3] cifs: update README about the kernel module parameters Suresh Jayaraman
[not found] ` <4E953209.2020602-IBi9RG/b67k@public.gmane.org>
2011-10-13 0:28 ` Jeff Layton
[not found] ` <20111012202801.63519ad9-9yPaYZwiELC+kQycOl6kW4xkIHaj4LzF@public.gmane.org>
2011-10-13 1:20 ` Steve French
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.