mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 08:14:15 +08:00
9f28745a6b
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> |
||
---|---|---|
.. | ||
Makefile | ||
zfcp_aux.c | ||
zfcp_ccw.c | ||
zfcp_dbf.c | ||
zfcp_def.h | ||
zfcp_erp.c | ||
zfcp_ext.h | ||
zfcp_fsf.c | ||
zfcp_fsf.h | ||
zfcp_qdio.c | ||
zfcp_scsi.c | ||
zfcp_sysfs_adapter.c | ||
zfcp_sysfs_driver.c | ||
zfcp_sysfs_port.c | ||
zfcp_sysfs_unit.c |