linux/drivers/s390/scsi
Christof Schmitt 934aeb587b [SCSI] zfcp: Handle WWPN mismatch in PLOGI payload
For ports, zfcp gets the DID from the FC nameserver and tries to open
the port. If the open succeeds, zfcp compares the WWPN from the
nameserver with the WWPN in the PLOGI payload. In case of a mismatch,
zfcp assumes that the DID of the port just changed and we opened the
wrong port. This means that zfcp has to forget the DID, lookup the DID
again and retry.

This error case had a problem that zfcp forgets the DID, but never
looks up a new one, stalling the ERP in this case. Fix this by
triggering the DID lookup and properly exit from the ERP. The DID
lookup will trigger a new ERP action.

Also ensure when trying to open the port again with the new DID, first
close the open port, even in the NOESC case.

Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-10-22 09:38:45 +09:00
..
Makefile [SCSI] zfcp: consolidate sysfs things into one file. 2008-07-12 08:22:35 -05:00
zfcp_aux.c [SCSI] zfcp: fix kfree handling in zfcp_init_device_setup 2009-10-22 09:38:42 +09:00
zfcp_ccw.c [SCSI] zfcp: Fix hang when offlining device with offline chpid 2009-10-02 09:50:21 -05:00
zfcp_cfdc.c [SCSI] zfcp: Fix initial device and cfdc for delayed adapter allocation 2009-10-02 09:49:47 -05:00
zfcp_dbf.c [SCSI] zfcp: Remove duplicated code for debug timestamps 2009-09-05 08:49:48 -05:00
zfcp_dbf.h [SCSI] zfcp: Update dbf calls 2009-09-05 08:49:30 -05:00
zfcp_def.h [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_erp.c [SCSI] zfcp: Handle WWPN mismatch in PLOGI payload 2009-10-22 09:38:45 +09:00
zfcp_ext.h [SCSI] zfcp: Handle WWPN mismatch in PLOGI payload 2009-10-22 09:38:45 +09:00
zfcp_fc.c [SCSI] zfcp: Handle WWPN mismatch in PLOGI payload 2009-10-22 09:38:45 +09:00
zfcp_fsf.c [SCSI] zfcp: correctly initialize unchained requests 2009-10-02 09:49:35 -05:00
zfcp_fsf.h [SCSI] zfcp: Move debug data from zfcp_data to own data structure 2009-09-05 08:49:06 -05:00
zfcp_qdio.c [SCSI] zfcp: optimize zfcp_qdio_account 2009-09-05 08:49:49 -05:00
zfcp_scsi.c trivial: remove unnecessary semicolons 2009-09-21 15:14:58 +02:00
zfcp_sysfs.c [SCSI] zfcp: Replace config semaphore with mutex 2009-09-05 08:49:42 -05:00