svcrdma: Double the default credit limit
authorChuck Lever <chuck.lever@oracle.com>
Tue, 22 Jul 2014 21:48:04 +0000 (17:48 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Wed, 23 Jul 2014 18:20:48 +0000 (14:20 -0400)
commitd9bb5a43277d2dcc514fa693f741bbc38e2e2271
tree63693518f78d16d70343448fef59a3ce7497e8d1
parent2f6ce8e73caa443201e3d826639b9242cf6ea568
svcrdma: Double the default credit limit

The RDMA credit limit controls how many concurrent RPCs are allowed
per connection.

An NFS/RDMA client and server exchange their credit limits in the
RPC/RDMA headers. The Linux client and the Solaris client and server
allow 32 credits. The Linux server allows only 16, which limits its
performance.

Set the server's default credit limit to 32, like the other well-
known implementations, so the out-of-the-shrinkwrap performance of
the Linux server is better.

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