[SCSI] qla2xxx: Make log message that prints when a completion status requires a...
authorChad Dupuis <chad.dupuis@qlogic.com>
Tue, 27 Aug 2013 05:37:39 +0000 (01:37 -0400)
committerJames Bottomley <JBottomley@Parallels.com>
Tue, 3 Sep 2013 14:28:03 +0000 (07:28 -0700)
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>
drivers/scsi/qla2xxx/qla_isr.c

index b4fb8a6b8aa02e21430324e9e6f0911a1fe686a1..4a9782ce7d074d13fc77c754b002e45633d8bc6d 100644 (file)
@@ -2178,8 +2178,10 @@ check_scsi_status:
                }
 
                ql_dbg(ql_dbg_io, fcport->vha, 0x3021,
-                   "Port down status: port-state=0x%x.\n",
-                   atomic_read(&fcport->state));
+                   "Port to be marked lost on fcport=%02x%02x%02x, current "
+                   "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)
                        qla2x00_mark_device_lost(fcport->vha, fcport, 1, 1);