From: Matt Benjamin <mbenjamin@redhat.com>
To: andros@netapp.com
Cc: trond myklebust <trond.myklebust@primarydata.com>,
linux-nfs@vger.kernel.org
Subject: Re: [PATCH RFC Version 1 0/6] Request for Comment: NFS4.1 Session Trunking
Date: Fri, 5 Feb 2016 16:41:22 -0500 (EST) [thread overview]
Message-ID: <602004174.33270134.1454708482500.JavaMail.zimbra@redhat.com> (raw)
In-Reply-To: <1454706518-4641-1-git-send-email-andros@netapp.com>
Looks like a good thing.
Matt
----- Original Message -----
> From: andros@netapp.com
> To: "trond myklebust" <trond.myklebust@primarydata.com>
> Cc: linux-nfs@vger.kernel.org, "Andy Adamson" <andros@netapp.com>
> Sent: Friday, February 5, 2016 4:08:32 PM
> Subject: [PATCH RFC Version 1 0/6] Request for Comment: NFS4.1 Session Trunking
>
> From: Andy Adamson <andros@netapp.com>
>
> This early patch set implements NFSv4.1 session trunking utilizing Tronds
> multipath feature. This works against an upstream linux server with
> two NICs as the EXCHANGE_ID info is the same for both NICs.
>
> Unmodified code will create a new nfs_client structure for the mount as
> nfs_match_client fails due to the different full server address.
> Tunking is detected by comparing the eir_server_owner.major/minor/scope
> and the eir_server_impl_id to an existing mount. When trunking is detected,
> the 2nd mount point uses the existing (not new) nfs_client for the new
> mount point.
>
> When trunking is detected, this patch set adds an rpc_xprt for the new server
> address to the exisiting mount, calls BIND_CONN_TO_SESSION, and destroys
> the new clientid (no second mount).
>
> We then get round robin use of the two NICs off one mount point all
> using a single session.
>
>
> Is using mount a good way to setup NFSv4.1 session trunking?
>
> The first two patches fix issues with the multipath code.
>
> SUNRPC: allow rpc_xprt_switch_add_xprt to add xprts on the same net
> This patch adds a flag to allow multipathing within the origial net.
> I don't understand why this was not allowed, so I expect a different
> solution for this issue.
>
>
> Comments please.
>
> Thanks
>
> -->Andy
>
> Andy Adamson (6):
> SUNRPC fix rpc_clnt_add_xprt setup return
> SUNRPC fix rpc_clnt_xprt_iter_init infinite loop
> SUNRPC: allow rpc_xprt_switch_add_xprt to add xprts on the same net
> NFS session trunking support: add trunk xprt to nfs4.1 mount
> NFS add callback_ops to nfs4_proc_bind_conn_to_session_callback
> NFS schedule bind_conn_to_session for new NFSv4.1 transport
>
> fs/nfs/client.c | 2 ++
> fs/nfs/nfs4client.c | 29 +++++++++++++++++++++++++++--
> fs/nfs/nfs4proc.c | 10 ++++++++++
> include/linux/nfs_fs_sb.h | 1 +
> include/linux/sunrpc/clnt.h | 1 +
> include/linux/sunrpc/xprtmultipath.h | 6 +++++-
> net/sunrpc/clnt.c | 20 +++++++++++++-------
> net/sunrpc/xprtmultipath.c | 35
> +++++++++++++++++++++++++++++++++--
> 8 files changed, 92 insertions(+), 12 deletions(-)
>
> --
> 1.8.3.1
>
> --
> 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
>
--
--
Matt Benjamin
Red Hat, Inc.
315 West Huron Street, Suite 140A
Ann Arbor, Michigan 48103
http://www.redhat.com/en/technologies/storage
tel. 734-707-0660
fax. 734-769-8938
cel. 734-216-5309
prev parent reply other threads:[~2016-02-05 21:41 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-05 21:08 [PATCH RFC Version 1 0/6] Request for Comment: NFS4.1 Session Trunking andros
2016-02-05 21:08 ` [PATCH RFC Version 1 1/6] SUNRPC fix rpc_clnt_add_xprt setup return andros
2016-02-05 23:21 ` Trond Myklebust
2016-02-05 21:08 ` [PATCH RFC Version 1 2/6] SUNRPC fix rpc_clnt_xprt_iter_init infinite loop andros
2016-02-06 1:18 ` Trond Myklebust
2016-02-05 21:08 ` [PATCH RFC Version 1 3/6] SUNRPC: allow rpc_xprt_switch_add_xprt to add xprts on the same net andros
2016-02-05 23:33 ` Trond Myklebust
2016-02-05 21:08 ` [PATCH RFC Version 1 4/6] NFS session trunking support: add trunk xprt to nfs4.1 mount andros
2016-02-06 1:03 ` Trond Myklebust
2016-02-05 21:08 ` [PATCH RFC Version 1 5/6] NFS add callback_ops to nfs4_proc_bind_conn_to_session_callback andros
2016-02-06 1:05 ` Trond Myklebust
2016-02-05 21:08 ` [PATCH RFC Version 1 6/6] NFS schedule bind_conn_to_session for new NFSv4.1 transport andros
2016-02-06 1:04 ` Trond Myklebust
2016-02-08 17:48 ` Adamson, Andy
2016-02-08 18:07 ` Trond Myklebust
2016-02-05 21:41 ` Matt Benjamin [this message]
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=602004174.33270134.1454708482500.JavaMail.zimbra@redhat.com \
--to=mbenjamin@redhat.com \
--cc=andros@netapp.com \
--cc=linux-nfs@vger.kernel.org \
--cc=trond.myklebust@primarydata.com \
/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).