]> 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)
commit8b4f51f70045c3125cb767bcffcc2ee6fce23e68
treefff4a35d571aee84aa0b35f7b66bc95bc471d9c0
parent506413ca2804a0d1008c91ddb5966b8943757de0
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: 402368d6c65b ("SUNRPC: Allow calls to xprt_transmit() to drain...")
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
net/sunrpc/clnt.c