]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f14a5de205e994249542c8a29e5efa0d8fe1633
tree249728f82a6a03d4cb47545490b86f40da829cf1
parent54640fe80251c3a9226223f9452273600e90da73
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