projects
/
linux-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
xprtrdma: ->send_request returns -EAGAIN when there are no free MRs
[linux-block.git]
/
net
/
sunrpc
/
xprtrdma
/
fmr_ops.c
diff --git
a/net/sunrpc/xprtrdma/fmr_ops.c
b/net/sunrpc/xprtrdma/fmr_ops.c
index d5f95bb39300e61ac2e3e4f9ddd83e947135473f..629e5397332185dc4ba2ec9550b7f9a05b8e189e 100644
(file)
--- a/
net/sunrpc/xprtrdma/fmr_ops.c
+++ b/
net/sunrpc/xprtrdma/fmr_ops.c
@@
-191,7
+191,7
@@
fmr_op_map(struct rpcrdma_xprt *r_xprt, struct rpcrdma_mr_seg *seg,
mr = rpcrdma_mr_get(r_xprt);
if (!mr)
- return ERR_PTR(-E
NOBUFS
);
+ return ERR_PTR(-E
AGAIN
);
pageoff = offset_in_page(seg1->mr_offset);
seg1->mr_offset -= pageoff; /* start of page */