lib/iscsi: Suppress error log for receiving PDU after logout

This log has been observed often after recent refinements but
this log does not mean any error. So use SPDK_DEBUGLOG instead
of SPDK_ERRLOG here.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: I3aa39ab3773ae83586c99699fd2473ca02c35eb9
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/475182
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
This commit is contained in:
Shuhei Matsumoto 2019-11-20 14:57:00 +09:00 committed by Tomasz Zawadzki
parent 30235a0b2a
commit 4dedb3b3ba

View File

@ -4933,7 +4933,7 @@ iscsi_read_pdu(struct spdk_iscsi_conn *conn)
}
if (conn->is_logged_out) {
SPDK_ERRLOG("pdu received after logout\n");
SPDK_DEBUGLOG(SPDK_LOG_ISCSI, "pdu received after logout\n");
conn->pdu_recv_state = ISCSI_PDU_RECV_STATE_ERROR;
break;
}