1
linux/drivers/s390/scsi
Michael Loehr 9f28745a6b [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices
IO stall after deleting and path checker changes after reenabling zfcp device

Setting one zfcp device offline using chccwdev in a multipath
environment and waiting will lead to IO stall on all paths.
After setting the zfcp device back online using chccwdev,
the devices with io stall will have a different path checker.
Devices corresponding to the deleted units are never freed.
This has the effect that 'slave_destroy' is never called and zfcp
still thinks that this unit is registered
(ZFCP_STATUS_UNIT_REGISTERED is still set). Hence the erp
routine is not called correctly and the unit is not enabled properly.

Do not delete rport and the sdev. Just set the host to block on
'offline'. Setting host online again will then remove the blocked status
and everything is fine again.

Signed-off-by: Michael Loehr <mloehr2@linux.vnet.ibm.com>
Signed-off-by: Swen Schillig <swen@vnet.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2007-05-16 10:01:38 -04:00
..
Makefile [SCSI] zfcp: enhancement of zfcp debug features 2005-09-19 13:03:00 -05:00
zfcp_aux.c [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices 2007-05-16 10:01:38 -04:00
zfcp_ccw.c [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices 2007-05-16 10:01:38 -04:00
zfcp_dbf.c [S390] Avoid sparse warnings. 2007-05-10 15:45:52 +02:00
zfcp_def.h [SCSI] zfcp: rework request ID management. 2007-05-08 11:56:50 -05:00
zfcp_erp.c [SCSI] zfcp: clear adapter failed flag if an fsf request times out. 2007-05-08 11:57:04 -05:00
zfcp_ext.h [SCSI] zfcp: rework request ID management. 2007-05-08 11:56:50 -05:00
zfcp_fsf.c [SCSI] zfcp: avoid clutter in erp_dbf 2007-05-16 10:01:38 -04:00
zfcp_fsf.h [SCSI] zfcp: (cleanup) removed superfluous macros, struct members, typedefs 2006-05-28 12:43:33 -04:00
zfcp_qdio.c Fix occurrences of "the the " 2007-05-09 08:57:56 +02:00
zfcp_scsi.c [SCSI] zfcp: IO stall after deleting and path checker changes after reenabling zfcp devices 2007-05-16 10:01:38 -04:00
zfcp_sysfs_adapter.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_driver.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_port.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00
zfcp_sysfs_unit.c [SCSI] zfcp: (cleanup) shortened copyright and author information 2006-05-28 12:36:02 -04:00