提交 8610586d 编写于 作者: S Steve Wise 提交者: Anna Schumaker

xprtrdma: don't log warnings for flushed completions

Unsignaled send WRs can get flushed as part of normal unmount, so don't
log them as warnings.
Signed-off-by: NSteve Wise <swise@opengridcomputing.com>
Signed-off-by: NAnna Schumaker <Anna.Schumaker@Netapp.com>
上级 7379047d
...@@ -252,8 +252,11 @@ frwr_sendcompletion(struct ib_wc *wc) ...@@ -252,8 +252,11 @@ frwr_sendcompletion(struct ib_wc *wc)
/* WARNING: Only wr_id and status are reliable at this point */ /* WARNING: Only wr_id and status are reliable at this point */
r = (struct rpcrdma_mw *)(unsigned long)wc->wr_id; r = (struct rpcrdma_mw *)(unsigned long)wc->wr_id;
pr_warn("RPC: %s: frmr %p flushed, status %s (%d)\n", if (wc->status == IB_WC_WR_FLUSH_ERR)
__func__, r, ib_wc_status_msg(wc->status), wc->status); dprintk("RPC: %s: frmr %p flushed\n", __func__, r);
else
pr_warn("RPC: %s: frmr %p error, status %s (%d)\n",
__func__, r, ib_wc_status_msg(wc->status), wc->status);
r->r.frmr.fr_state = FRMR_IS_STALE; r->r.frmr.fr_state = FRMR_IS_STALE;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册