]> err.no Git - linux-2.6/commitdiff
[SCSI] ibmvfc: Add details to async event log
authorBrian King <brking@linux.vnet.ibm.com>
Fri, 15 Aug 2008 15:59:27 +0000 (10:59 -0500)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 16 Aug 2008 15:49:16 +0000 (10:49 -0500)
When logging async events, also print the payload in addition to the
event received.

Signed-off-by: Brian King <brking@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/ibmvscsi/ibmvfc.c

index 6ecc0ddd4440e88a1ed5c207bf8e2c60f73b76a4..4e0b7c8eb32e731a535b9d2110af3b52f494d78b 100644 (file)
@@ -2084,7 +2084,8 @@ static void ibmvfc_handle_async(struct ibmvfc_async_crq *crq,
 {
        const char *desc = ibmvfc_get_ae_desc(crq->event);
 
-       ibmvfc_log(vhost, 3, "%s event received\n", desc);
+       ibmvfc_log(vhost, 3, "%s event received. scsi_id: %lx, wwpn: %lx,"
+                  " node_name: %lx\n", desc, crq->scsi_id, crq->wwpn, crq->node_name);
 
        switch (crq->event) {
        case IBMVFC_AE_LINK_UP: