All of lore.kernel.org
 help / color / mirror / Atom feed
* manpage: update mount.cifs manpage with info about echo_interval option.
@ 2018-01-23 17:37 Kenneth Dsouza
       [not found] ` <CAA_-hQJ=DsbeVWU7mr-W0sTRiPXnCC3vznmznQwBedQLtE0s_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Kenneth Dsouza @ 2018-01-23 17:37 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA

Signed-off-by:  Kenneth D'souza <kdsouza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

diff --git a/mount.cifs.rst b/mount.cifs.rst
index 023ff34..efd7055 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -385,6 +385,14 @@ mfsymlinks
   option. Minshall+French symlinks are used even if the server supports
   the CIFS Unix Extensions.

+echo_interval=n
+  sets the interval at which echo requests are sent to the server on an
+  idling connection. This setting also affects the time required
+  for a connection to an unresponsive server to timeout.
+  Here n is the echo interval in seconds. If this option is not given then
+  the default value of 60 seconds is used.
+  The minimum tunable value is 1 second and maximum can go up to 600 seconds.
+
 serverino
   Use inode numbers (unique persistent file identifiers) returned by the
   server instead of automatically generating temporary inode numbers on




Kind Regards,
Kenneth D'souza

^ permalink raw reply related	[flat|nested] 6+ messages in thread

* Re: manpage: update mount.cifs manpage with info about echo_interval option.
       [not found] ` <CAA_-hQJ=DsbeVWU7mr-W0sTRiPXnCC3vznmznQwBedQLtE0s_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2018-01-23 23:05   ` Steve French
  2018-01-24 10:40   ` Aurélien Aptel
  1 sibling, 0 replies; 6+ messages in thread
From: Steve French @ 2018-01-23 23:05 UTC (permalink / raw)
  To: Kenneth Dsouza; +Cc: CIFS

looks reasonable

On Tue, Jan 23, 2018 at 11:37 AM, Kenneth Dsouza <kdsouza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
> Signed-off-by:  Kenneth D'souza <kdsouza-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
>
> diff --git a/mount.cifs.rst b/mount.cifs.rst
> index 023ff34..efd7055 100644
> --- a/mount.cifs.rst
> +++ b/mount.cifs.rst
> @@ -385,6 +385,14 @@ mfsymlinks
>    option. Minshall+French symlinks are used even if the server supports
>    the CIFS Unix Extensions.
>
> +echo_interval=n
> +  sets the interval at which echo requests are sent to the server on an
> +  idling connection. This setting also affects the time required
> +  for a connection to an unresponsive server to timeout.
> +  Here n is the echo interval in seconds. If this option is not given then
> +  the default value of 60 seconds is used.
> +  The minimum tunable value is 1 second and maximum can go up to 600 seconds.
> +
>  serverino
>    Use inode numbers (unique persistent file identifiers) returned by the
>    server instead of automatically generating temporary inode numbers on
>
>
>
>
> Kind Regards,
> Kenneth D'souza
> --
> 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



-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: manpage: update mount.cifs manpage with info about echo_interval option.
       [not found] ` <CAA_-hQJ=DsbeVWU7mr-W0sTRiPXnCC3vznmznQwBedQLtE0s_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  2018-01-23 23:05   ` Steve French
@ 2018-01-24 10:40   ` Aurélien Aptel
       [not found]     ` <87y3knsfpa.fsf-IBi9RG/b67k@public.gmane.org>
  1 sibling, 1 reply; 6+ messages in thread
From: Aurélien Aptel @ 2018-01-24 10:40 UTC (permalink / raw)
  To: Kenneth Dsouza, linux-cifs-u79uwXL29TY76Z2rM5mHXA

In practice I've noticed that we actually wait for twice the
echo_interval value to reconnect (/me has been doing a lot of
reconnection tests lately).

Cheers,

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: manpage: update mount.cifs manpage with info about echo_interval option.
       [not found]     ` <87y3knsfpa.fsf-IBi9RG/b67k@public.gmane.org>
@ 2018-01-24 10:53       ` Sachin Prabhu
       [not found]         ` <1516791183.20341.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Sachin Prabhu @ 2018-01-24 10:53 UTC (permalink / raw)
  To: Aurélien Aptel, Kenneth Dsouza, linux-cifs-u79uwXL29TY76Z2rM5mHXA

On Wed, 2018-01-24 at 11:40 +0100, Aurélien Aptel wrote:
> In practice I've noticed that we actually wait for twice the
> echo_interval value to reconnect (/me has been doing a lot of
> reconnection tests lately).
> 
> Cheers,
> 
I've documented it at
http://sprabhu.blogspot.in/2015/08/investigation-into-effects-of-server
.html
if you are interested.

Upstream patch which added this option.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm
it/?id=adfeb3e00e8e1b9fb4ad19eb7367e7c272d16003

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: manpage: update mount.cifs manpage with info about echo_interval option.
       [not found]         ` <1516791183.20341.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
@ 2018-01-24 11:14           ` Aurélien Aptel
       [not found]             ` <87shavse4a.fsf-IBi9RG/b67k@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: Aurélien Aptel @ 2018-01-24 11:14 UTC (permalink / raw)
  To: Sachin Prabhu, Kenneth Dsouza, linux-cifs-u79uwXL29TY76Z2rM5mHXA

Sachin Prabhu <sprabhu-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:
> I've documented it at
> http://sprabhu.blogspot.in/2015/08/investigation-into-effects-of-server
> .html
> if you are interested.

Great analysis! I remember reading through your blog some time ago but
forgot about this post. (Btw it would be even nicer if the code was
formated [1] ;)

Cheers,

1: https://stackoverflow.com/questions/679189/formatting-code-snippets-for-blogging-on-blogger

-- 
Aurélien Aptel / SUSE Labs Samba Team
GPG: 1839 CB5F 9F5B FB9B AA97  8C99 03C8 A49B 521B D5D3
SUSE Linux GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: manpage: update mount.cifs manpage with info about echo_interval option.
       [not found]             ` <87shavse4a.fsf-IBi9RG/b67k@public.gmane.org>
@ 2018-01-24 12:35               ` Sachin Prabhu
  0 siblings, 0 replies; 6+ messages in thread
From: Sachin Prabhu @ 2018-01-24 12:35 UTC (permalink / raw)
  To: Aurélien Aptel, Kenneth Dsouza, linux-cifs-u79uwXL29TY76Z2rM5mHXA

On Wed, 2018-01-24 at 12:14 +0100, Aurélien Aptel wrote:
> Sachin Prabhu <sprabhu-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> writes:
> > I've documented it at
> > http://sprabhu.blogspot.in/2015/08/investigation-into-effects-of-se
> > rver
> > .html
> > if you are interested.
> 
> Great analysis! I remember reading through your blog some time ago
> but
> forgot about this post. (Btw it would be even nicer if the code was
> formated [1] ;)
> 
> Cheers,
> 
> 1: https://stackoverflow.com/questions/679189/formatting-code-snippet
> s-for-blogging-on-blogger
> 
Thanks,

I've used hilite.me to generate the html for the code and changed the
blog design. Hopefully will make it easier to follow. 

I still need to change my code walk through of smb3 encryption.

Sachin Prabhu

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-01-24 12:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 17:37 manpage: update mount.cifs manpage with info about echo_interval option Kenneth Dsouza
     [not found] ` <CAA_-hQJ=DsbeVWU7mr-W0sTRiPXnCC3vznmznQwBedQLtE0s_g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-01-23 23:05   ` Steve French
2018-01-24 10:40   ` Aurélien Aptel
     [not found]     ` <87y3knsfpa.fsf-IBi9RG/b67k@public.gmane.org>
2018-01-24 10:53       ` Sachin Prabhu
     [not found]         ` <1516791183.20341.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2018-01-24 11:14           ` Aurélien Aptel
     [not found]             ` <87shavse4a.fsf-IBi9RG/b67k@public.gmane.org>
2018-01-24 12:35               ` Sachin Prabhu

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.