linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH Version 8 00/12] pNFS file layout session trunking
@ 2016-08-11 21:39 andros
  2016-08-11 21:39 ` [PATCH Version 8 01/12] NFS setup async exchange_id andros
                   ` (11 more replies)
  0 siblings, 12 replies; 16+ messages in thread
From: andros @ 2016-08-11 21:39 UTC (permalink / raw)
  To: trond.myklebust; +Cc: anna.schumaker, linux-nfs, Andy Adamson

From: Andy Adamson <andros@netapp.com>

Responded to version-7 comments:

- Removed call to rpc_task_release_client from rpc_task_set_client

- Don't leak the rpc_xprt_switch to the NFS layer
  Added wrappers in net/sunrpc/clnt.c  including a new
  rpc_clnt_add_xprt setup function to call into the NFS
  layer.

- Check if a transport has already been added to the xprt switch
  This is done in rpc_xprt_switch_add_xprt. Also done in the first
  new rpc_clnt_add_xprt setup function to avoid an unnecessary
  EXCHANGE_ID.

- Added rpc_xprt_switch test in nfs_match_client so we find an
  nfs_client that is using an rpc_xprt_switch address.

Also:
- The new rpc_clnt_add_xprt setup function returns 1 and added a
  call to rpc_xprt_switch_add_xprt to the session trunk
  case of nfs4_exchange_id_done.

- Saved the mount exchange id verifier in cl_confirm and use it
  in session trunking exchange id's

Testing: pynfs server configured with pnfs mulitpath data servers
- tested working, unconfigured, and repeated ipv4 multipath
   addresses

Andy Adamson (12):
  NFS setup async exchange_id
  NFS refactor nfs4_match_clientids
  NFS refactor nfs4_check_serverowner_major_id
  NFS detect session trunking
  SUNRPC remove rpc_task_release_client from rpc_task_set_client
  SUNRPC rpc_clnt_xprt_switch_put
  SUNRPC rpc_clnt_xprt_switch_add_xprt
  SUNRPC search xprt switch for sockaddr
  SUNRPC: rpc_clnt_add_xprt setup function for NFS layer
  NFS add xprt switch addrs test to match client
  NFS test session trunking with exchange id
  NFS pnfs data server multipath session trunking

 fs/nfs/client.c                      |   5 +-
 fs/nfs/internal.h                    |   3 +
 fs/nfs/nfs4_fs.h                     |   8 +
 fs/nfs/nfs4client.c                  | 114 ++++++++++++--
 fs/nfs/nfs4proc.c                    | 294 +++++++++++++++++++++++++----------
 fs/nfs/pnfs_nfs.c                    |  56 +++++--
 include/linux/sunrpc/clnt.h          |  17 ++
 include/linux/sunrpc/xprtmultipath.h |   2 +
 net/sunrpc/clnt.c                    |  93 ++++++++++-
 net/sunrpc/xprtmultipath.c           |  24 ++-
 10 files changed, 502 insertions(+), 114 deletions(-)

-- 
1.8.3.1


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

end of thread, other threads:[~2016-08-12 20:59 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-08-11 21:39 [PATCH Version 8 00/12] pNFS file layout session trunking andros
2016-08-11 21:39 ` [PATCH Version 8 01/12] NFS setup async exchange_id andros
2016-08-11 21:39 ` [PATCH Version 8 02/12] NFS refactor nfs4_match_clientids andros
2016-08-11 21:39 ` [PATCH Version 8 03/12] NFS refactor nfs4_check_serverowner_major_id andros
2016-08-11 21:39 ` [PATCH Version 8 04/12] NFS detect session trunking andros
2016-08-12 18:57   ` Anna Schumaker
2016-08-11 21:39 ` [PATCH Version 8 05/12] SUNRPC remove rpc_task_release_client from rpc_task_set_client andros
2016-08-11 21:39 ` [PATCH Version 8 06/12] SUNRPC rpc_clnt_xprt_switch_put andros
2016-08-11 21:39 ` [PATCH Version 8 07/12] SUNRPC rpc_clnt_xprt_switch_add_xprt andros
2016-08-11 21:39 ` [PATCH Version 8 08/12] SUNRPC search xprt switch for sockaddr andros
2016-08-12 20:37   ` Anna Schumaker
2016-08-11 21:39 ` [PATCH Version 8 09/12] SUNRPC: rpc_clnt_add_xprt setup function for NFS layer andros
2016-08-11 21:39 ` [PATCH Version 8 10/12] NFS add xprt switch addrs test to match client andros
2016-08-11 21:39 ` [PATCH Version 8 11/12] NFS test session trunking with exchange id andros
2016-08-12 20:59   ` Anna Schumaker
2016-08-11 21:39 ` [PATCH Version 8 12/12] NFS pnfs data server multipath session trunking andros

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