SUNRPC: Add basic load balancing to the transport switch
authorTrond Myklebust <trond.myklebust@primarydata.com>
Fri, 28 Apr 2017 14:52:42 +0000 (10:52 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Sat, 6 Jul 2019 18:54:49 +0000 (14:54 -0400)
commit21f0ffaff510b0530bfdf77da7133c0b99dee2fe
tree0302c053444f3a371d7c188a33f9834fb7cbc31e
parent44942b4e457beda00981f616402a1a791e8c616e
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>
include/linux/sunrpc/xprt.h
include/linux/sunrpc/xprtmultipath.h
net/sunrpc/clnt.c
net/sunrpc/xprtmultipath.c