Commit ea51d2e1 authored by Bart Van Assche's avatar Bart Van Assche Committed by Doug Ledford

IB/srpt: Convert a warning into a debug message

At least when running the ib_srpt driver on top of the rdma_rxe
driver it is easy to trigger a zero-length write completion in
the CH_DISCONNECTED state. Hence make the message that reports
this less noisy.
Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
Signed-off-by: default avatarDoug Ledford <dledford@redhat.com>
parent b185d3f8
...@@ -875,7 +875,8 @@ static void srpt_zerolength_write_done(struct ib_cq *cq, struct ib_wc *wc) ...@@ -875,7 +875,8 @@ static void srpt_zerolength_write_done(struct ib_cq *cq, struct ib_wc *wc)
if (srpt_set_ch_state(ch, CH_DISCONNECTED)) if (srpt_set_ch_state(ch, CH_DISCONNECTED))
schedule_work(&ch->release_work); schedule_work(&ch->release_work);
else else
WARN_ONCE(1, "%s-%d\n", ch->sess_name, ch->qp->qp_num); pr_debug("%s-%d: already disconnected.\n",
ch->sess_name, ch->qp->qp_num);
} }
} }
......
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