[SCSI] zfcp: Warn about storage devices with broken PLOGI data
authorChristof Schmitt <christof.schmitt@de.ibm.com>
Tue, 13 Oct 2009 08:44:09 +0000 (10:44 +0200)
committerJames Bottomley <James.Bottomley@suse.de>
Thu, 22 Oct 2009 00:38:47 +0000 (09:38 +0900)
commit10d00f78e67223ef429fa5f4abfc9ea4ad740490
treef5187aaacfdde4e5ce03929c5036bdfd5339f9fd
parent934aeb587bab3173b6dec8e7717b909d8efc77b0
[SCSI] zfcp: Warn about storage devices with broken PLOGI data

After opening a remote port zfcp checks if the WWPN returned in the
PLOGI maches the WWPN of the port that should have been opened. On a
mismatch zfcp assumes that the DID just changed, queries the FC
nameserver and tries again. If the situation persists the erp will
give up.

With this strategy, if the remote port always returns the wrong PLOGI
data, the remote port will not be opened. Introduce a warning, so that
the system administrator knows why the remote port is not being opened
and to have a pointer to investigate the problem on the storage
system.

Reviewed-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/s390/scsi/zfcp_fsf.c