linux/drivers/scsi/qla2xxx
Laurence Oberman b9f85b1d32 qla2xxx: fix race in handling rport deletion during recovery causes panic
When we have an rport disconnect we race during rport deletion and
re-connection resulting in a panic.  When we do this, we call
fc_remote_port_del() just before we do the calls to re-establish the
session with the FC transport with fc_remote_port_add() and then
fc_remote_port_rolechg().

If we remove the call to fc_remote_port_del() before re-establishing
the connection this prevents the race.  This patch has resolved this
for multiple customers via test kernels.

Suggested by Chad Dupuis, implemented and tested by Laurence Oberman.

Signed-off-by: Laurence Oberman <loberman@redhat.com>
Acked-by: Chad Dupuis <chad.dupuis@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2014-12-15 13:34:23 +01:00
..
Kconfig
Makefile
qla_attr.c
qla_bsg.c
qla_bsg.h
qla_dbg.c
qla_dbg.h
qla_def.h
qla_devtbl.h
qla_dfs.c
qla_fw.h
qla_gbl.h
qla_gs.c
qla_init.c
qla_inline.h
qla_iocb.c
qla_isr.c
qla_mbx.c
qla_mid.c
qla_mr.c
qla_mr.h
qla_nx.c
qla_nx.h
qla_nx2.c
qla_nx2.h
qla_os.c
qla_settings.h
qla_sup.c
qla_target.c
qla_target.h
qla_tmpl.c
qla_tmpl.h
qla_version.h
tcm_qla2xxx.c
tcm_qla2xxx.h