linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH v3 00/13] Basic multipathing support and demonstrator
@ 2016-02-01 17:21 Trond Myklebust
  2016-02-01 17:21 ` [RFC PATCH v3 01/13] SUNRPC: Remove unused function rpc_task_reset_client Trond Myklebust
  2016-02-01 20:48 ` [RFC PATCH v3 00/13] Basic multipathing support and demonstrator J. Bruce Fields
  0 siblings, 2 replies; 18+ messages in thread
From: Trond Myklebust @ 2016-02-01 17:21 UTC (permalink / raw)
  To: linux-nfs

Hi all,

The following patchset is intended as an RFC to demonstrate how we could
implement multipathing in NFS.
It adds basic support for attaching multiple RPC transports to a client,
an embryonic policy mechanism for switching tasks across those transports
(with a round-robin policy implementation), as well as helpers to allow
iteration of tasks across all tranports (for instance in order to
support NFSv4.1's BIND_CONN_TO_SESSION).

A lot of polish and finishing touches are missing. For instance, I have yet
to add support in debugfs for these transports, and there is no support
for mounting with NFSv4.1 session trunking. However there is a demonstrator
that implements pNFS multipathing over NFSv3. Adding support for NFSv4.1
requires that you call EXCHANGE_ID to allow verification of the
major/minor server and scopeid fields, which should not be too hard.

More to come, but in the meantime, comments are welcome...

Cheers
  Trond

--------------
v2 & v3: Fix up kbuild warnings

Trond Myklebust (13):
  SUNRPC: Remove unused function rpc_task_reset_client
  SUNRPC: Reorder rpc_task to put waitqueue related info in same
    cachelines
  SUNRPC: Uninline xprt_get(); It isn't performance critical.
  SUNRPC: Make freeing of struct xprt rcu-safe
  SUNRPC: Add a structure to track multiple transports
  SUNRPC: Make rpc_clnt store the multipath iterators
  SUNRPC: Use the multipath iterator to assign a transport to each task
  SUNRPC: Allow caller to specify the transport to use
  SUNRPC: Add a helper to apply a function to all the rpc_clnt's
    transports
  SUNRPC: Make NFS swap work with multipath
  NFSv4.1: nfs4_proc_bind_conn_to_session must iterate over all
    connections
  SUNRPC: Allow addition of new transports to a struct rpc_clnt
  pnfs/NFSv4.1: Add multipath capabilities to pNFS flexfiles servers
    over NFSv3

 fs/nfs/nfs4proc.c                    |  51 +++-
 fs/nfs/pnfs_nfs.c                    |  16 +-
 include/linux/sunrpc/clnt.h          |  18 +-
 include/linux/sunrpc/sched.h         |  32 +--
 include/linux/sunrpc/xprt.h          |  22 +-
 include/linux/sunrpc/xprtmultipath.h |  69 +++++
 net/sunrpc/Makefile                  |   3 +-
 net/sunrpc/auth_gss/auth_gss.c       |   4 +-
 net/sunrpc/clnt.c                    | 326 ++++++++++++++++++------
 net/sunrpc/rpcb_clnt.c               |  10 +-
 net/sunrpc/sched.c                   |   2 +
 net/sunrpc/xprt.c                    |  42 ++--
 net/sunrpc/xprtmultipath.c           | 473 +++++++++++++++++++++++++++++++++++
 net/sunrpc/xprtsock.c                |   4 +-
 14 files changed, 938 insertions(+), 134 deletions(-)
 create mode 100644 include/linux/sunrpc/xprtmultipath.h
 create mode 100644 net/sunrpc/xprtmultipath.c

-- 
2.5.0


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

end of thread, other threads:[~2016-02-01 22:01 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-01 17:21 [RFC PATCH v3 00/13] Basic multipathing support and demonstrator Trond Myklebust
2016-02-01 17:21 ` [RFC PATCH v3 01/13] SUNRPC: Remove unused function rpc_task_reset_client Trond Myklebust
2016-02-01 17:21   ` [RFC PATCH v3 02/13] SUNRPC: Reorder rpc_task to put waitqueue related info in same cachelines Trond Myklebust
2016-02-01 17:21     ` [RFC PATCH v3 03/13] SUNRPC: Uninline xprt_get(); It isn't performance critical Trond Myklebust
2016-02-01 17:21       ` [RFC PATCH v3 04/13] SUNRPC: Make freeing of struct xprt rcu-safe Trond Myklebust
2016-02-01 17:21         ` [RFC PATCH v3 05/13] SUNRPC: Add a structure to track multiple transports Trond Myklebust
2016-02-01 17:21           ` [RFC PATCH v3 06/13] SUNRPC: Make rpc_clnt store the multipath iterators Trond Myklebust
2016-02-01 17:21             ` [RFC PATCH v3 07/13] SUNRPC: Use the multipath iterator to assign a transport to each task Trond Myklebust
2016-02-01 17:21               ` [RFC PATCH v3 08/13] SUNRPC: Allow caller to specify the transport to use Trond Myklebust
2016-02-01 17:21                 ` [RFC PATCH v3 09/13] SUNRPC: Add a helper to apply a function to all the rpc_clnt's transports Trond Myklebust
2016-02-01 17:21                   ` [RFC PATCH v3 10/13] SUNRPC: Make NFS swap work with multipath Trond Myklebust
2016-02-01 17:21                     ` [RFC PATCH v3 11/13] NFSv4.1: nfs4_proc_bind_conn_to_session must iterate over all connections Trond Myklebust
2016-02-01 17:21                       ` [RFC PATCH v3 12/13] SUNRPC: Allow addition of new transports to a struct rpc_clnt Trond Myklebust
2016-02-01 17:21                         ` [RFC PATCH v3 13/13] pnfs/NFSv4.1: Add multipath capabilities to pNFS flexfiles servers over NFSv3 Trond Myklebust
2016-02-01 17:31                           ` Matt W. Benjamin
2016-02-01 20:48 ` [RFC PATCH v3 00/13] Basic multipathing support and demonstrator J. Bruce Fields
2016-02-01 21:12   ` Trond Myklebust
2016-02-01 21:54     ` Tom Talpey

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).