From: Steve Dickson <SteveD@redhat.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfs(5): Document the "migration" mount option
Date: Wed, 18 Sep 2013 11:57:24 -0400 [thread overview]
Message-ID: <5239CD64.1000709@RedHat.com> (raw)
In-Reply-To: <20130910192730.2394.8803.stgit@seurat.1015granger.net>
On 10/09/13 15:28, Chuck Lever wrote:
> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
> ---
>
> This has been floating around for a while in my nfs-utils repo.
> Now that migration support is getting merged upstream, I propose
> this minor change to nfs(5).
>
> Note that my pending migration patches currently allow migration
> even if the "migration" option is not specified. In this case,
> standard state recovery will occur on the destination server (aka a
> non-TSM migration) since the destination server can't match up a
> client using the traditional clientid string with incoming migrated
> state.
>
> If we think this is dangerous to allow, then the client can be
> changed to require the "migration" option to enable migration
> support on NFSv4.0 mount points.
>
> Non-TSM migration can still occur if the servers for some reason
> fail to transfer open and lock state during a migration.
>
> Comments...?
This looks find to me... When the migration code "hits the streets"
I'll commit this... Until then I'll keep on my TODO que...
steved.
>
> utils/mount/nfs.man | 20 ++++++++++++++++++++
> 1 file changed, 20 insertions(+)
>
> diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
> index 2a42b93..e93bd16 100644
> --- a/utils/mount/nfs.man
> +++ b/utils/mount/nfs.man
> @@ -855,6 +855,26 @@ In the presence of multiple client network interfaces,
> special routing policies,
> or atypical network topologies,
> the exact address to use for callbacks may be nontrivial to determine.
> +.TP 1.5i
> +.BR migration " / " nomigration
> +Selects whether the client uses an identification string that is compatible
> +with NFSv4 Transparent State Migration (TSM).
> +If the mounted server supports NFSv4 migration with TSM, specify the
> +.B migration
> +option.
> +.IP
> +Some server features misbehave in the face of a migration-compatible
> +identification string.
> +The
> +.B nomigration
> +option retains the use of a traditional client indentification string
> +which is compatible with legacy NFS servers.
> +This is also the behavior if neither option is specified.
> +A client's open and lock state cannot be migrated transparently
> +when it identifies itself via a traditional identification string.
> +.IP
> +This mount option has no effect with NFSv4 minor versions greater than zero,
> +as these versions always use TSM-compatible client identification strings.
> .SH nfs4 FILE SYSTEM TYPE
> The
> .BR nfs4
>
> --
> 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
>
next prev parent reply other threads:[~2013-09-18 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-10 19:28 [PATCH] nfs(5): Document the "migration" mount option Chuck Lever
2013-09-18 15:57 ` Steve Dickson [this message]
2013-11-20 21:21 ` Steve Dickson
-- strict thread matches above, loose matches on Subject: below --
2013-11-14 16:35 Chuck Lever
2013-11-20 21:23 ` Steve Dickson
2013-09-10 19:26 Chuck Lever
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5239CD64.1000709@RedHat.com \
--to=steved@redhat.com \
--cc=chuck.lever@oracle.com \
--cc=linux-nfs@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).