Skip to contentSkip to conversation

target: log NOP ping timeouts as errors

PATCH Superseded David Disseldorp 1 participant 1 message Oct 9, 2018 SCSI target

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 4/4 target: log NOP ping timeouts as errors

Events resulting in connection outages like this should be logged as errors.

---
 drivers/target/iscsi/iscsi_target_util.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/target/iscsi/iscsi_target_util.c +1 -1
index 49be1e41290c..b20e87f0795f 100644
@@ -925,7 +925,7 @@ void iscsit_handle_nopin_response_timeout(struct timer_list *t)
 		return;
 	}
 
-	pr_debug("Did not receive response to NOPIN on CID: %hu on"
+	pr_err("Did not receive response to NOPIN on CID: %hu on"
 		" SID: %u, failing connection.\n", conn->cid,
 			conn->sess->sid);
 	conn->nopin_response_timer_flags &= ~ISCSI_TF_RUNNING;
Signature · 1 line
2.13.7