aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorChristof Schmitt <christof.schmitt@de.ibm.com>2007-11-05 06:37:44 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-01-11 19:22:39 -0500
commit345bfea5e424f086b654294eddcfa3f8ff92b47f (patch)
tree0c359dd07f14a2cfecf607ac6edc35a0cb675792 /drivers
parenta11b4743e58f53213acdd16e3a0004d035aa45f0 (diff)
[SCSI] zfcp: Use also port and adapter to identify unit in messages.
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com> Signed-off-by: Swen Schillig <swen@vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/s390/scsi/zfcp_scsi.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_scsi.c b/drivers/s390/scsi/zfcp_scsi.c
index 28e2b52bf851..c6b6295395b0 100644
--- a/drivers/s390/scsi/zfcp_scsi.c
+++ b/drivers/s390/scsi/zfcp_scsi.c
@@ -458,7 +458,9 @@ zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt)
458 retval = SUCCESS; 458 retval = SUCCESS;
459 goto out; 459 goto out;
460 } 460 }
461 ZFCP_LOG_NORMAL("resetting unit 0x%016Lx\n", unit->fcp_lun); 461 ZFCP_LOG_NORMAL("resetting unit 0x%016Lx on port 0x%016Lx, adapter %s\n",
462 unit->fcp_lun, unit->port->wwpn,
463 zfcp_get_busid_by_adapter(unit->port->adapter));
462 464
463 /* 465 /*
464 * If we do not know whether the unit supports 'logical unit reset' 466 * If we do not know whether the unit supports 'logical unit reset'
@@ -552,7 +554,9 @@ static int zfcp_scsi_eh_host_reset_handler(struct scsi_cmnd *scpnt)
552 adapter = unit->port->adapter; 554 adapter = unit->port->adapter;
553 555
554 ZFCP_LOG_NORMAL("host reset because of problems with " 556 ZFCP_LOG_NORMAL("host reset because of problems with "
555 "unit 0x%016Lx\n", unit->fcp_lun); 557 "unit 0x%016Lx on port 0x%016Lx, adapter %s\n",
558 unit->fcp_lun, unit->port->wwpn,
559 zfcp_get_busid_by_adapter(unit->port->adapter));
556 560
557 zfcp_erp_adapter_reopen(adapter, 0); 561 zfcp_erp_adapter_reopen(adapter, 0);
558 zfcp_erp_wait(adapter); 562 zfcp_erp_wait(adapter);