Commit 3e339946 authored by Brian King's avatar Brian King Committed by James Bottomley

[SCSI] ibmvfc: Add details to async event log

When logging async events, also print the payload in addition to the
event received.
Signed-off-by: default avatarBrian King <brking@linux.vnet.ibm.com>
Signed-off-by: default avatarJames Bottomley <James.Bottomley@HansenPartnership.com>
parent 2bac406d
...@@ -2084,7 +2084,8 @@ static void ibmvfc_handle_async(struct ibmvfc_async_crq *crq, ...@@ -2084,7 +2084,8 @@ static void ibmvfc_handle_async(struct ibmvfc_async_crq *crq,
{ {
const char *desc = ibmvfc_get_ae_desc(crq->event); 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) { switch (crq->event) {
case IBMVFC_AE_LINK_UP: case IBMVFC_AE_LINK_UP:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment