All of lore.kernel.org
 help / color / mirror / Atom feed
* [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted
@ 2017-10-31 16:02 Jeff Layton
       [not found] ` <20171031160224.12523-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2017-10-31 16:02 UTC (permalink / raw)
  To: linux-cifs-u79uwXL29TY76Z2rM5mHXA
  Cc: lsahlber-H+wXaHxf7aLQT0dZR+AlfA, aaptel-IBi9RG/b67k,
	pshilov-0li6OtcxBFHby3iVrkZq2A

From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>

Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
---
 mount.cifs.rst | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Thanks Aurelien. I dropped Ronnie's Reviewed-by since this is a bit different.
Let me know if you'd like me to add it back.

diff --git a/mount.cifs.rst b/mount.cifs.rst
index 9714f795fe76..01305df60651 100644
--- a/mount.cifs.rst
+++ b/mount.cifs.rst
@@ -517,7 +517,7 @@ prefixpath=arg
 vers=arg
   SMB protocol version. Allowed values are:
 
-  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
+  - 1.0 - The classic CIFS/SMBv1 protocol.
   - 2.0 - The SMBv2.002 protocol. This was initially introduced in
     Windows Vista Service Pack 1, and Windows Server 2008. Note that
     the initial release version of Windows Vista spoke a slightly
@@ -529,6 +529,9 @@ vers=arg
   Note too that while this option governs the protocol version used, not
   all features of each version are available.
 
+  In kernels v4.13 and later, the client and server negotiate a version greater
+  than or equal to ``2.1``. In kernels prior to v4.13, the default is ``1.0``.
+
 --verbose
   Print additional debugging information for the mount. Note that this
   parameter must be specified before the ``-o`` . For example::
@@ -857,4 +860,3 @@ Steve French
 The maintainer of the Linux cifs vfs and the userspace tool mount.cifs
 is Steve French. The Linux CIFS Mailing list is the preferred place to
 ask questions regarding these programs.
-
\ No newline at end of file
-- 
2.13.6

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

* Re: [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted
       [not found] ` <20171031160224.12523-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2017-10-31 17:45   ` Pavel Shilovsky
       [not found]     ` <CAKywueR4DpsM72EK6u=6PHRm+uD6m8vJWnmHfhYzUuYfFn1oNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Pavel Shilovsky @ 2017-10-31 17:45 UTC (permalink / raw)
  To: Jeff Layton
  Cc: linux-cifs, Ronnie Sahlberg, Aurélien Aptel, Pavel Shilovskiy

2017-10-31 9:02 GMT-07:00 Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
>
> Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> ---
>  mount.cifs.rst | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)
>
> Thanks Aurelien. I dropped Ronnie's Reviewed-by since this is a bit different.
> Let me know if you'd like me to add it back.
>
> diff --git a/mount.cifs.rst b/mount.cifs.rst
> index 9714f795fe76..01305df60651 100644
> --- a/mount.cifs.rst
> +++ b/mount.cifs.rst
> @@ -517,7 +517,7 @@ prefixpath=arg
>  vers=arg
>    SMB protocol version. Allowed values are:
>
> -  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
> +  - 1.0 - The classic CIFS/SMBv1 protocol.
>    - 2.0 - The SMBv2.002 protocol. This was initially introduced in
>      Windows Vista Service Pack 1, and Windows Server 2008. Note that
>      the initial release version of Windows Vista spoke a slightly
> @@ -529,6 +529,9 @@ vers=arg
>    Note too that while this option governs the protocol version used, not
>    all features of each version are available.
>
> +  In kernels v4.13 and later, the client and server negotiate a version greater
> +  than or equal to ``2.1``. In kernels prior to v4.13, the default is ``1.0``.
> +

The multi-dialect negotiation (version 2.1 and above) was added in
v4.13.5 kernel. Should we mention the specific stable version in the
doc?

--
Best regards,
Pavel Shilovsky

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

* Re: [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted
       [not found]     ` <CAKywueR4DpsM72EK6u=6PHRm+uD6m8vJWnmHfhYzUuYfFn1oNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-11-04 11:33       ` Jeff Layton
       [not found]         ` <1509795185.29302.5.camel-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Layton @ 2017-11-04 11:33 UTC (permalink / raw)
  To: Pavel Shilovsky
  Cc: linux-cifs, Ronnie Sahlberg, Aurélien Aptel, Pavel Shilovskiy

On Tue, 2017-10-31 at 10:45 -0700, Pavel Shilovsky wrote:
> 2017-10-31 9:02 GMT-07:00 Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> > From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> > 
> > Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
> > ---
> >  mount.cifs.rst | 6 ++++--
> >  1 file changed, 4 insertions(+), 2 deletions(-)
> > 
> > Thanks Aurelien. I dropped Ronnie's Reviewed-by since this is a bit different.
> > Let me know if you'd like me to add it back.
> > 
> > diff --git a/mount.cifs.rst b/mount.cifs.rst
> > index 9714f795fe76..01305df60651 100644
> > --- a/mount.cifs.rst
> > +++ b/mount.cifs.rst
> > @@ -517,7 +517,7 @@ prefixpath=arg
> >  vers=arg
> >    SMB protocol version. Allowed values are:
> > 
> > -  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
> > +  - 1.0 - The classic CIFS/SMBv1 protocol.
> >    - 2.0 - The SMBv2.002 protocol. This was initially introduced in
> >      Windows Vista Service Pack 1, and Windows Server 2008. Note that
> >      the initial release version of Windows Vista spoke a slightly
> > @@ -529,6 +529,9 @@ vers=arg
> >    Note too that while this option governs the protocol version used, not
> >    all features of each version are available.
> > 
> > +  In kernels v4.13 and later, the client and server negotiate a version greater
> > +  than or equal to ``2.1``. In kernels prior to v4.13, the default is ``1.0``.
> > +
> 
> The multi-dialect negotiation (version 2.1 and above) was added in
> v4.13.5 kernel. Should we mention the specific stable version in the
> doc?
> 

It would be very odd to make that sort of change in a stable series
kernel. What patch actually flipped the default to autonegotiate?

I was assuming that it was eef914a9eb5eb83e60eb498315a491cd1edc13a1:

    $ git tag --contains eef914a9eb5eb83e60eb498315a491cd1edc13a1 | grep v4.13$
    v4.13

git says that that commit went into v4.13. Was it a different one?
-- 
Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

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

* Re: [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted
       [not found]         ` <1509795185.29302.5.camel-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
@ 2017-11-04 16:44           ` Pavel Shilovsky
  0 siblings, 0 replies; 4+ messages in thread
From: Pavel Shilovsky @ 2017-11-04 16:44 UTC (permalink / raw)
  To: Jeff Layton
  Cc: linux-cifs, Ronnie Sahlberg, Aurélien Aptel, Pavel Shilovskiy

2017-11-04 4:33 GMT-07:00 Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
> On Tue, 2017-10-31 at 10:45 -0700, Pavel Shilovsky wrote:
>> 2017-10-31 9:02 GMT-07:00 Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>:
>> > From: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
>> >
>> > Signed-off-by: Jeff Layton <jlayton-eUNUBHrolfbYtjvyW6yDsg@public.gmane.org>
>> > ---
>> >  mount.cifs.rst | 6 ++++--
>> >  1 file changed, 4 insertions(+), 2 deletions(-)
>> >
>> > Thanks Aurelien. I dropped Ronnie's Reviewed-by since this is a bit different.
>> > Let me know if you'd like me to add it back.
>> >
>> > diff --git a/mount.cifs.rst b/mount.cifs.rst
>> > index 9714f795fe76..01305df60651 100644
>> > --- a/mount.cifs.rst
>> > +++ b/mount.cifs.rst
>> > @@ -517,7 +517,7 @@ prefixpath=arg
>> >  vers=arg
>> >    SMB protocol version. Allowed values are:
>> >
>> > -  - 1.0 - The classic CIFS/SMBv1 protocol. This is the default.
>> > +  - 1.0 - The classic CIFS/SMBv1 protocol.
>> >    - 2.0 - The SMBv2.002 protocol. This was initially introduced in
>> >      Windows Vista Service Pack 1, and Windows Server 2008. Note that
>> >      the initial release version of Windows Vista spoke a slightly
>> > @@ -529,6 +529,9 @@ vers=arg
>> >    Note too that while this option governs the protocol version used, not
>> >    all features of each version are available.
>> >
>> > +  In kernels v4.13 and later, the client and server negotiate a version greater
>> > +  than or equal to ``2.1``. In kernels prior to v4.13, the default is ``1.0``.
>> > +
>>
>> The multi-dialect negotiation (version 2.1 and above) was added in
>> v4.13.5 kernel. Should we mention the specific stable version in the
>> doc?
>>
>
> It would be very odd to make that sort of change in a stable series
> kernel. What patch actually flipped the default to autonegotiate?
>
> I was assuming that it was eef914a9eb5eb83e60eb498315a491cd1edc13a1:
>
>     $ git tag --contains eef914a9eb5eb83e60eb498315a491cd1edc13a1 | grep v4.13$
>     v4.13
>
> git says that that commit went into v4.13. Was it a different one?
> --
> Jeff Layton <jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>

Yes, it was 9764c02fcbad40001fd3f63558d918e4d519bb75
(https://github.com/torvalds/linux/commit/9764c02fcbad40001fd3f63558d918e4d519bb75).

The one you mentioned changed the default from vers=1.0 to vers=3.0
which broke the existing setups against SMB 1.0 only servers. It was
done with subsequent auto-negotiate patch in mind. That's why the
latter patch should went to v4.13.y.

--
Best regards,
Pavel Shilovsky

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

end of thread, other threads:[~2017-11-04 16:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-31 16:02 [cifs-utils PATCH v2] manpage: update mount.cifs manpage with info about default version being mounted Jeff Layton
     [not found] ` <20171031160224.12523-1-jlayton-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-10-31 17:45   ` Pavel Shilovsky
     [not found]     ` <CAKywueR4DpsM72EK6u=6PHRm+uD6m8vJWnmHfhYzUuYfFn1oNA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-11-04 11:33       ` Jeff Layton
     [not found]         ` <1509795185.29302.5.camel-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2017-11-04 16:44           ` Pavel Shilovsky

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.