SUNRPC: Add basic load balancing to the transport switch
For now, just count the queue length. It is less accurate than counting
number of bytes queued, but easier to implement.
Signed-off-by:
Trond Myklebust <trond.myklebust@primarydata.com>
Showing
- include/linux/sunrpc/xprt.h 1 addition, 0 deletionsinclude/linux/sunrpc/xprt.h
- include/linux/sunrpc/xprtmultipath.h 2 additions, 0 deletionsinclude/linux/sunrpc/xprtmultipath.h
- net/sunrpc/clnt.c 37 additions, 3 deletionsnet/sunrpc/clnt.c
- net/sunrpc/xprtmultipath.c 19 additions, 1 deletionnet/sunrpc/xprtmultipath.c
Loading
Please register or sign in to comment