projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e679d5
)
xprtrdma: Reduce number of MRs created by rpcrdma_mrs_create
author
Chuck Lever
<chuck.lever@oracle.com>
Wed, 28 Feb 2018 20:30:49 +0000
(15:30 -0500)
committer
Anna Schumaker
<Anna.Schumaker@Netapp.com>
Tue, 10 Apr 2018 20:06:22 +0000
(16:06 -0400)
Create fewer MRs on average. Many workloads don't need as many as
32 MRs, and the transport can now quickly restock the MR free list.
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
net/sunrpc/xprtrdma/verbs.c
patch
|
blob
|
history
diff --git
a/net/sunrpc/xprtrdma/verbs.c
b/net/sunrpc/xprtrdma/verbs.c
index d36c18f26cd3188081cad44878748c7be82129ca..ab8672443c3a5f2e0624e6b246b5de5862addaea 100644
(file)
--- a/
net/sunrpc/xprtrdma/verbs.c
+++ b/
net/sunrpc/xprtrdma/verbs.c
@@
-1023,7
+1023,7
@@
rpcrdma_mrs_create(struct rpcrdma_xprt *r_xprt)
LIST_HEAD(free);
LIST_HEAD(all);
- for (count = 0; count < 3
2
; count++) {
+ for (count = 0; count < 3; count++) {
struct rpcrdma_mr *mr;
int rc;