]> git.baikalelectronics.ru Git - kernel.git/commit
SUNRPC: Add API to force the client to disconnect
authorTrond Myklebust <trond.myklebust@hammerspace.com>
Wed, 5 Oct 2022 19:57:37 +0000 (15:57 -0400)
committerAnna Schumaker <Anna.Schumaker@Netapp.com>
Thu, 6 Oct 2022 13:52:09 +0000 (09:52 -0400)
commitaf4a8a1374e5976b84d2531f4b1e1f09030444f6
tree0b2c9b041088686a4b01e1a0e1c8f3303e75dac6
parentb41a552059eb7bc916bcded4606fb42aed39e023
SUNRPC: Add API to force the client to disconnect

Allow the caller to force a disconnection of the RPC client so that we
can clear any pending requests that are buffered in the socket.

Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
include/linux/sunrpc/clnt.h
net/sunrpc/clnt.c