Commit 0031e47c authored by Chuck Lever's avatar Chuck Lever Committed by Anna Schumaker

xprtrdma: Squelch ENOBUFS warnings

When ro_map is out of buffers, that's not a permanent error, so
don't report a problem.
Signed-off-by: default avatarChuck Lever <chuck.lever@oracle.com>
Signed-off-by: default avatarAnna Schumaker <Anna.Schumaker@Netapp.com>
parent 7d7fa9b5
...@@ -781,9 +781,11 @@ rpcrdma_marshal_req(struct rpc_rqst *rqst) ...@@ -781,9 +781,11 @@ rpcrdma_marshal_req(struct rpc_rqst *rqst)
return 0; return 0;
out_err: out_err:
pr_err("rpcrdma: rpcrdma_marshal_req failed, status %ld\n", if (PTR_ERR(iptr) != -ENOBUFS) {
PTR_ERR(iptr)); pr_err("rpcrdma: rpcrdma_marshal_req failed, status %ld\n",
r_xprt->rx_stats.failed_marshal_count++; PTR_ERR(iptr));
r_xprt->rx_stats.failed_marshal_count++;
}
return PTR_ERR(iptr); return PTR_ERR(iptr);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment