All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nfsman: document minorversion
@ 2017-09-07  6:57 Jianhong.Yin
  2017-09-14 17:12 ` Steve Dickson
  2017-09-15  3:05 ` NeilBrown
  0 siblings, 2 replies; 3+ messages in thread
From: Jianhong.Yin @ 2017-09-07  6:57 UTC (permalink / raw)
  To: steved; +Cc: linux-nfs, Jianhong.Yin

Signed-off-by: Jianhong Yin <yin-jianhong@163.com>
---
 utils/mount/nfs.man | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
index cc6e992..7d42f19 100644
--- a/utils/mount/nfs.man
+++ b/utils/mount/nfs.man
@@ -779,6 +779,23 @@ so if this mount option is not specified, the NFS version 4 client
 uses the TCP protocol.
 Refer to the TRANSPORT METHODS section for more details.
 .TP 1.5i
+.BI minorversion= n
+Specifies the protocol minor version number.
+NFSv4 introduces "minor versioning," where NFS protocol enhancements can
+be introduced without bumping the NFS protocol version number.
+Before kernel 2.6.38, the minor version is always zero, and this
+option is not recognized.
+After this kernel, specifying "minorversion=1" enables a number of
+advanced features, such as NFSv4 sessions.
+.IP
+Recent kernels allow the minor version to be specified using the
+.B vers=
+option.
+For example, specifying
+.B vers=4.1
+is the same as specifying
+.BR vers=4,minorversion=1 .
+.TP 1.5i
 .BI port= n
 The numeric value of the server's NFS service port.
 If the server's NFS service is not available on the specified port,
-- 
2.13.5


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

* Re: [PATCH] nfsman: document minorversion
  2017-09-07  6:57 [PATCH] nfsman: document minorversion Jianhong.Yin
@ 2017-09-14 17:12 ` Steve Dickson
  2017-09-15  3:05 ` NeilBrown
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Dickson @ 2017-09-14 17:12 UTC (permalink / raw)
  To: Jianhong.Yin; +Cc: linux-nfs



On 09/07/2017 02:57 AM, Jianhong.Yin wrote:
> Signed-off-by: Jianhong Yin <yin-jianhong@163.com>
> ---
>  utils/mount/nfs.man | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
Committed....

steved.
> 
> diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
> index cc6e992..7d42f19 100644
> --- a/utils/mount/nfs.man
> +++ b/utils/mount/nfs.man
> @@ -779,6 +779,23 @@ so if this mount option is not specified, the NFS version 4 client
>  uses the TCP protocol.
>  Refer to the TRANSPORT METHODS section for more details.
>  .TP 1.5i
> +.BI minorversion= n
> +Specifies the protocol minor version number.
> +NFSv4 introduces "minor versioning," where NFS protocol enhancements can
> +be introduced without bumping the NFS protocol version number.
> +Before kernel 2.6.38, the minor version is always zero, and this
> +option is not recognized.
> +After this kernel, specifying "minorversion=1" enables a number of
> +advanced features, such as NFSv4 sessions.
> +.IP
> +Recent kernels allow the minor version to be specified using the
> +.B vers=
> +option.
> +For example, specifying
> +.B vers=4.1
> +is the same as specifying
> +.BR vers=4,minorversion=1 .
> +.TP 1.5i
>  .BI port= n
>  The numeric value of the server's NFS service port.
>  If the server's NFS service is not available on the specified port,
> 

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

* Re: [PATCH] nfsman: document minorversion
  2017-09-07  6:57 [PATCH] nfsman: document minorversion Jianhong.Yin
  2017-09-14 17:12 ` Steve Dickson
@ 2017-09-15  3:05 ` NeilBrown
  1 sibling, 0 replies; 3+ messages in thread
From: NeilBrown @ 2017-09-15  3:05 UTC (permalink / raw)
  To: Jianhong.Yin, steved; +Cc: linux-nfs, Jianhong.Yin

[-- Attachment #1: Type: text/plain, Size: 1790 bytes --]

On Thu, Sep 07 2017, Jianhong.Yin wrote:

> Signed-off-by: Jianhong Yin <yin-jianhong@163.com>
> ---
>  utils/mount/nfs.man | 17 +++++++++++++++++
>  1 file changed, 17 insertions(+)
>
> diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
> index cc6e992..7d42f19 100644
> --- a/utils/mount/nfs.man
> +++ b/utils/mount/nfs.man
> @@ -779,6 +779,23 @@ so if this mount option is not specified, the NFS version 4 client
>  uses the TCP protocol.
>  Refer to the TRANSPORT METHODS section for more details.
>  .TP 1.5i
> +.BI minorversion= n
> +Specifies the protocol minor version number.
> +NFSv4 introduces "minor versioning," where NFS protocol enhancements can
> +be introduced without bumping the NFS protocol version number.
> +Before kernel 2.6.38, the minor version is always zero, and this
> +option is not recognized.
> +After this kernel, specifying "minorversion=1" enables a number of
> +advanced features, such as NFSv4 sessions.

This is not quite correct.  nfs-utils now defaults to the most recent
version of NFS that is supported by the kernel.  So if your kernel
supports v4.2, then specifying "minorversion=1" *disables* some features.

NeilBrown


> +.IP
> +Recent kernels allow the minor version to be specified using the
> +.B vers=
> +option.
> +For example, specifying
> +.B vers=4.1
> +is the same as specifying
> +.BR vers=4,minorversion=1 .
> +.TP 1.5i
>  .BI port= n
>  The numeric value of the server's NFS service port.
>  If the server's NFS service is not available on the specified port,
> -- 
> 2.13.5
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

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

end of thread, other threads:[~2017-09-15  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-07  6:57 [PATCH] nfsman: document minorversion Jianhong.Yin
2017-09-14 17:12 ` Steve Dickson
2017-09-15  3:05 ` NeilBrown

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.