diff options
author | Olga Kornievskaia <kolga@netapp.com> | 2021-06-23 23:28:50 -0400 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2021-07-08 14:03:24 -0400 |
commit | 5b7eb78486cd9ac58bfbd6d84ea0fe2d9fead03b (patch) | |
tree | 1a71de43011ed7c434117cfe94676739a880c3f0 /fs/nfs/nfstrace.c | |
parent | c1830a63c79aa90f725ed6feaad097473f2b990d (diff) |
SUNRPC: take a xprt offline using sysfs
Using sysfs's xprt_state attribute, mark a particular transport offline.
It will not be picked during the round-robin selection. It's not allowed
to take the main (1st created transport associated with the rpc_client)
offline. Also bring a transport back online via sysfs by writing "online"
and that would allow for this transport to be picked during the round-
robin selection.
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'fs/nfs/nfstrace.c')
0 files changed, 0 insertions, 0 deletions