SUNRPC: Add a transport callback to handle dequeuing of an RPC request
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Tue, 12 Dec 2023 15:13:22 +0000 (16:13 +0100)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 28 Feb 2024 20:00:14 +0000 (15:00 -0500)
commit3f7edeac0bbb301a07d7ea2abd28727aaa7fdab0
tree7febf2a73ff28a5e3a9c0189e0063e9e2e26d4f7
parent0c14584cdbdb58ecc14d149a81ca6c3d42cd38ec
SUNRPC: Add a transport callback to handle dequeuing of an RPC request

Add a transport level callback to allow it to handle the consequences of
dequeuing the request that was in the process of being transmitted.
For something like a TCP connection, we may need to disconnect if the
request was partially transmitted.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
include/linux/sunrpc/xprt.h
net/sunrpc/xprt.c
net/sunrpc/xprtsock.c