]> git.dujemihanovic.xyz Git - linux.git/commit
SUNRPC: Fix up RPC back channel transmission
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 5 Mar 2019 12:30:48 +0000 (07:30 -0500)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Thu, 7 Mar 2019 21:45:21 +0000 (16:45 -0500)
commit477687e1116ad16180caf8633dd830b296a5ce73
treefff4a35d571aee84aa0b35f7b66bc95bc471d9c0
parented7dc973bd91da234d93aff6d033a5206a6c9885
SUNRPC: Fix up RPC back channel transmission

Now that transmissions happen through a queue, we require the RPC tasks
to handle error conditions that may have been set while they were
sleeping. The back channel does not currently do this, but assumes
that any error condition happens during its own call to xprt_transmit().

The solution is to ensure that the back channel splits out the
error handling just like the forward channel does.

Fixes: 89f90fe1ad8b ("SUNRPC: Allow calls to xprt_transmit() to drain...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c