]> git.baikalelectronics.ru Git - kernel.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)
commit931417e5c1ab9b81cb8b0a3cfdd420834b54a3b5
treefff4a35d571aee84aa0b35f7b66bc95bc471d9c0
parent42e68ce14bda8d945b9ad5326e1a6a793af716ec
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: 1ae0d24a9577 ("SUNRPC: Allow calls to xprt_transmit() to drain...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c