linux/drivers/scsi/qla2xxx
Alexei Potashnik df673274fa qla2xxx: added sess generations to detect RSCN update races
RSCN processing in qla2xxx driver can run in parallel with ELS/IO
processing. As such the decision to remove disappeared fc port's
session could be stale, because a new login sequence has occurred
since and created a brand new session.

Previous mechanism of dealing with this by delaying deletion request
was prone to erroneous deletions if the event that was supposed to
cancel the deletion never arrived or has been delayed in processing.

New mechanism relies on a time-like generation counter to serialize
RSCN updates relative to ELS/IO updates.

Cc: <stable@vger.kernel.org> # v3.18+
Signed-off-by: Alexei Potashnik <alexei@purestorage.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2015-07-24 14:19:41 -07:00
..
Kconfig qla2xxx: Add support to load firmware from file for ISP 26XX/27XX. 2015-04-10 08:41:50 -07:00
Makefile [SCSI] qla2xxx: Add support for ISP2071. 2014-03-15 10:18:50 -07:00
qla_attr.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_bsg.c qla2xxx: Add missing ISP27xx checks to optrom code. 2014-09-25 14:25:04 +02:00
qla_bsg.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_dbg.c qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_dbg.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_def.h qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_devtbl.h
qla_dfs.c scsi: print single-character strings with seq_putc 2015-02-02 09:57:46 -08:00
qla_fw.h qla2xxx: Honor FCP_RSP retry delay timer field. 2014-09-25 14:25:04 +02:00
qla_gbl.h qla2xxx: remove redundant declaration in 'qla_gbl.h' 2014-11-12 11:32:01 +01:00
qla_gs.c qla2xxx: Add FDMI-2 functionality. 2014-09-25 14:25:02 +02:00
qla_init.c qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_inline.h qla2xxx: Honor FCP_RSP retry delay timer field. 2014-09-25 14:25:04 +02:00
qla_iocb.c qla2xxx: delay plogi/prli ack until existing sessions are deleted 2015-07-24 14:19:39 -07:00
qla_isr.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_mbx.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_mid.c SCSI misc on 20150416 2015-04-16 19:02:04 -04:00
qla_mr.c scsi: remove abuses of scsi_populate_tag 2014-11-12 11:19:41 +01:00
qla_mr.h qla2xxx: Adjust adapter reset routine to the changes in firmware specification for ISPFx00. 2014-05-19 13:31:03 +02:00
qla_nx2.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_nx2.h qla2xxx: Check the QLA8044_CRB_DRV_ACTIVE_INDEX register when we are not the owner of the reset. 2014-05-19 13:31:04 +02:00
qla_nx.c qla2xxx: Fix indentation 2015-06-13 08:51:39 -07:00
qla_nx.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_os.c qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_settings.h qla2xxx: Change copyright year to 2014 in all the source files. 2014-05-19 13:31:02 +02:00
qla_sup.c qla2xxx: Enable target mode for ISP27XX 2015-07-24 14:18:55 -07:00
qla_target.c qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_target.h qla2xxx: added sess generations to detect RSCN update races 2015-07-24 14:19:41 -07:00
qla_tmpl.c qla2xxx: Prevent multiple firmware dump collection for ISP27XX. 2015-04-10 08:42:49 -07:00
qla_tmpl.h qla2xxx: ISP27xx fwdump template error print simplification. 2014-09-25 14:25:02 +02:00
qla_version.h qla2xxx: Update driver version to 8.07.00.18-k 2015-04-10 08:43:17 -07:00
tcm_qla2xxx.c qla2xxx: delay plogi/prli ack until existing sessions are deleted 2015-07-24 14:19:39 -07:00
tcm_qla2xxx.h target: move transport ID handling to the core 2015-05-30 22:42:30 -07:00