linux-stable/drivers/scsi/qla2xxx
Roland Dreier d6dfc868bc target: Allow for target_submit_cmd() returning errors
We want it to be possible for target_submit_cmd() to return errors up
to its fabric module callers.  For now just update the prototype to
return an int, and update all callers to handle non-zero return values
as an error.

This is immediately useful for tcm_qla2xxx to fix a long-standing active
I/O session shutdown race, but tcm_fc, usb-gadget, and sbp-target the
fabric maintainers need to check + ACK that handling a target_submit_cmd()
failure due to session shutdown does not introduce regressions

(nab: Respin against for-next after initial NACK + update docbook comment +
      fix double se_cmd init in exception path for usb-gadget)

Cc: Chad Dupuis <chad.dupuis@qlogic.com>
Cc: Arun Easi <arun.easi@qlogic.com>
Cc: Chris Boot <bootc@bootc.net>
Cc: Stefan Richter <stefanr@s5r6.in-berlin.de>
Cc: Mark Rustad <mark.d.rustad@intel.com>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Andy Grover <agrover@redhat.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
2012-07-17 17:05:05 -07:00
..
Kconfig [SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core 2012-05-22 11:49:20 +01:00
Makefile [SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core 2012-05-22 11:49:20 +01:00
qla_attr.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_bsg.c [SCSI] Revert "qla2xxx: During loopdown perform Diagnostic loopback." 2012-05-22 11:47:01 +01:00
qla_bsg.h [SCSI] qla2xxx: Provide method for updating I2C attached VPD. 2011-08-29 00:14:57 -07:00
qla_dbg.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_dbg.h [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_def.h [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_devtbl.h [SCSI] qla2xxx: fix Kernel Panic with Qlogic 2472 Card. 2009-02-10 11:15:18 -05:00
qla_dfs.c [SCSI] qla2xxx: Enhancements to support ISP83xx. 2012-02-19 08:11:11 -06:00
qla_fw.h [SCSI] qla2xxx: Enhancements to support ISP83xx. 2012-02-19 08:11:11 -06:00
qla_gbl.h [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_gs.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_init.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_inline.h [SCSI] qla2xxx: Add ha->max_fibre_devices to keep track of the maximum number of targets. 2012-02-19 08:33:13 -06:00
qla_iocb.c [SCSI] qla2xxx: don't free pool that wasn't allocated 2012-05-22 11:52:20 +01:00
qla_isr.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_mbx.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_mid.c [SCSI] qla2xxx: Add LLD target-mode infrastructure for >= 24xx series 2012-05-22 11:47:51 +01:00
qla_nx.c [SCSI] qla2xxx: Display proper firmware version when new minidump template is gathered for ISP82xx. 2012-05-22 11:45:15 +01:00
qla_nx.h [SCSI] qla2xxx: Corrections to log messages. 2012-05-22 11:39:52 +01:00
qla_os.c SCSI misc on 20120531 2012-05-31 12:02:41 -07:00
qla_settings.h [SCSI] qla2xxx: Update copyright banner. 2011-05-01 10:07:23 -05:00
qla_sup.c [SCSI] qla2xxx: Block flash access from application when device is initialized for ISP82xx. 2012-05-10 08:10:58 +01:00
qla_target.c qla2xxx: Remove racy, now-redundant check of sess_tearing_down 2012-07-16 17:35:27 -07:00
qla_target.h qla2xxx: Get rid of redundant qla_tgt_sess.tearing_down 2012-07-16 17:35:25 -07:00
qla_version.h [SCSI] qla2xxx: Update version number to 8.04.00.03-k. 2012-05-10 08:19:10 +01:00
tcm_qla2xxx.c target: Allow for target_submit_cmd() returning errors 2012-07-17 17:05:05 -07:00
tcm_qla2xxx.h [SCSI] tcm_qla2xxx: Add >= 24xx series fabric module for target-core 2012-05-22 11:49:20 +01:00