SUNRPC don't resend a task on an offlined transport
authorOlga Kornievskaia <kolga@netapp.com>
Thu, 24 Mar 2022 14:22:58 +0000 (10:22 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 24 Mar 2022 16:06:07 +0000 (12:06 -0400)
commit82ee41b85cef16b4be1f4732650012d9baaedddd
tree4a9e36c5e620a7227cd66fa3aee1a8a36640315b
parent3de24f3d7078f90c8488fc67446671503f44d63e
SUNRPC don't resend a task on an offlined transport

When a task is being retried, due to an NFS error, if the assigned
transport has been put offline and the task is relocatable pick a new
transport.

Fixes: 6f081693e7b2b ("sunrpc: remove an offlined xprt using sysfs")
Signed-off-by: Olga Kornievskaia <kolga@netapp.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c