]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] zfcp: Set WKA-port to offline on adapter deactivation
authorSwen Schillig <swen@vnet.ibm.com>
Fri, 17 Apr 2009 13:08:05 +0000 (15:08 +0200)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Mon, 27 Apr 2009 15:07:27 +0000 (10:07 -0500)
commitda8de36448e272a5b4f199380ae97f3b9f9cbb73
tree414f4e64ef934c37d873afb9711074011a6eb03c
parent3eaa86bfa47bbeba1e99d62dabbc322187ec0c8e
[SCSI] zfcp: Set WKA-port to offline on adapter deactivation

The nameserver port might be in state online when the adapter is
offlined. On adapter reactivation the nameserver port is not
re-opened due to the PORT_ONLINE status. This results in an
unsuccessful recovery. In forcing the nameserver port status
to offline on all adapter offline events this issue is prevented.

Waiting for the reference count to drop to zero in
zfcp_wka_port_offline is not required, so remove it.

Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: Christof Schmitt <christof.schmitt@de.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/s390/scsi/zfcp_aux.c
drivers/s390/scsi/zfcp_ccw.c
drivers/s390/scsi/zfcp_erp.c
drivers/s390/scsi/zfcp_ext.h
drivers/s390/scsi/zfcp_fc.c