svcrdma: Increase the default connection credit limit
authorChuck Lever <chuck.lever@oracle.com>
Mon, 1 Oct 2018 18:16:11 +0000 (14:16 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Mon, 29 Oct 2018 20:58:04 +0000 (16:58 -0400)
commit3ae2cefb613b00d613677c05ffa384b4f660f468
tree249728f82a6a03d4cb47545490b86f40da829cf1
parent07880fa4968b07db9df0f126bb7fbde245ed12ff
svcrdma: Increase the default connection credit limit

Reduce queuing on clients by allowing more credits by default.

64 is the default NFSv4.1 slot table size on Linux clients. This
size prevents the credit limit from putting RPC requests to sleep
again after they have already slept waiting for a session slot.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/sunrpc/svc_rdma.h