History

SUNRPC: Fix transport accounting when caller specifies an rpc_xprt

Ensure that we do the required accounting for the round robin queue when the caller to rpc_init_task() has passed in a transport to be used.

Trond Myklebust committed 7 years ago

Commit a101b041 parent 347543e3 files · +24 −23Browse files

Showing the changes to include/linux (1 of 3 files). Show all

Unified · Split

include/linux/sunrpc/clnt.h+2−0
@@ -164,6 +164,8 @@ void rpc_shutdown_client(struct rpc_clnt *); · 163 unmodified lines
164164 void rpc_release_client(struct rpc_clnt *);
165165 void rpc_task_release_transport(struct rpc_task *);
166166 void rpc_task_release_client(struct rpc_task *);
167+struct rpc_xprt *rpc_task_get_xprt(struct rpc_clnt *clnt,
168+ struct rpc_xprt *xprt);
167169
168170 int rpcb_create_local(struct net *);
169171 void rpcb_put_local(struct net *);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t