mbox series

[RFC,0/3] approach to deal with changes in trunking membership

Message ID 20220228203804.61803-1-olga.kornievskaia@gmail.com (mailing list archive)
Headers show
Series approach to deal with changes in trunking membership | expand

Message

Olga Kornievskaia Feb. 28, 2022, 8:38 p.m. UTC
From: Olga Kornievskaia <kolga@netapp.com>

A client needs to deal with changes to trunking group membership,
specially when a particular connection (endpoint) is no longer a part
of the trunking group membership. On such occasion, the attempts of
using such transports result in BAD_SESSION error as the endpoint no
longer shares session state with the others.

To deal with such situation, this series proposes to destroy trunking
connections when the client destroys the session.

Olga Kornievskaia (3):
  SUNRPC provide accessible functions for offline remote xprt
    functionality
  SUNRPC add function to offline remote trunkable transports
  NFSv4.1 destroy trunkable transport when destroying the session

 fs/nfs/nfs4proc.c           |  1 +
 include/linux/sunrpc/clnt.h |  1 +
 include/linux/sunrpc/xprt.h |  2 ++
 net/sunrpc/clnt.c           | 39 +++++++++++++++++++++++++++++++++++++
 net/sunrpc/sysfs.c          | 23 +++++-----------------
 net/sunrpc/xprt.c           | 25 ++++++++++++++++++++++++
 6 files changed, 73 insertions(+), 18 deletions(-)