提交 0031e47c 编写于 作者: C Chuck Lever 提交者: 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: NChuck Lever <chuck.lever@oracle.com>
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册