[SCSI] qla2xxx: Make log message that prints when a completion status requires a port down more readable.
Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
71e5600362
commit
0e948975ef
|
@ -2178,8 +2178,10 @@ check_scsi_status:
|
||||||
}
|
}
|
||||||
|
|
||||||
ql_dbg(ql_dbg_io, fcport->vha, 0x3021,
|
ql_dbg(ql_dbg_io, fcport->vha, 0x3021,
|
||||||
"Port down status: port-state=0x%x.\n",
|
"Port to be marked lost on fcport=%02x%02x%02x, current "
|
||||||
atomic_read(&fcport->state));
|
"port state= %s.\n", fcport->d_id.b.domain,
|
||||||
|
fcport->d_id.b.area, fcport->d_id.b.al_pa,
|
||||||
|
port_state_str[atomic_read(&fcport->state)]);
|
||||||
|
|
||||||
if (atomic_read(&fcport->state) == FCS_ONLINE)
|
if (atomic_read(&fcport->state) == FCS_ONLINE)
|
||||||
qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1);
|
qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1);
|
||||||
|
|
Loading…
Reference in a new issue