mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-23 07:01:23 +00:00
[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>
This commit is contained in:
parent
a11b4743e5
commit
345bfea5e4
1 changed files with 6 additions and 2 deletions
|
@ -458,7 +458,9 @@ zfcp_scsi_eh_device_reset_handler(struct scsi_cmnd *scpnt)
|
||||||
retval = SUCCESS;
|
retval = SUCCESS;
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
ZFCP_LOG_NORMAL("resetting unit 0x%016Lx\n", unit->fcp_lun);
|
ZFCP_LOG_NORMAL("resetting unit 0x%016Lx on port 0x%016Lx, adapter %s\n",
|
||||||
|
unit->fcp_lun, unit->port->wwpn,
|
||||||
|
zfcp_get_busid_by_adapter(unit->port->adapter));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* If we do not know whether the unit supports 'logical unit reset'
|
* 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)
|
||||||
adapter = unit->port->adapter;
|
adapter = unit->port->adapter;
|
||||||
|
|
||||||
ZFCP_LOG_NORMAL("host reset because of problems with "
|
ZFCP_LOG_NORMAL("host reset because of problems with "
|
||||||
"unit 0x%016Lx\n", unit->fcp_lun);
|
"unit 0x%016Lx on port 0x%016Lx, adapter %s\n",
|
||||||
|
unit->fcp_lun, unit->port->wwpn,
|
||||||
|
zfcp_get_busid_by_adapter(unit->port->adapter));
|
||||||
|
|
||||||
zfcp_erp_adapter_reopen(adapter, 0);
|
zfcp_erp_adapter_reopen(adapter, 0);
|
||||||
zfcp_erp_wait(adapter);
|
zfcp_erp_wait(adapter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue