]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitf4a06f87756001c3b9977eceead8471dc20b4469
tree4a9e36c5e620a7227cd66fa3aee1a8a36640315b
parent8cf0c0005c19f40ca31ff135b134310cbcdc9b92
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: 8cab4ad89ffd3 ("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