android_kernel_motorola_sm6375/include/target
Repository files (latest commit first)
Filename Latest commit message Latest commit date
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 <[email protected]>
Cc: Arun Easi <[email protected]>
Cc: Chris Boot <[email protected]>
Cc: Stefan Richter <[email protected]>
Cc: Mark Rustad <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Felipe Balbi <[email protected]>
Cc: Andy Grover <[email protected]>
Signed-off-by: Roland Dreier <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
2012-07-17 17:05:05 -07:00
..
configfs_macros.h doc: fix broken references 2011-09-27 18:08:04 +02:00
target_core_backend.h target: move unmap to struct spc_ops 2012-07-16 17:35:14 -07:00
target_core_base.h target: Add generation of LOGICAL BLOCK ADDRESS OUT OF RANGE 2012-07-16 17:35:35 -07:00
target_core_configfs.h [SCSI] target: add initial statistics 2011-03-23 11:36:50 -05:00
target_core_fabric.h target: Allow for target_submit_cmd() returning errors 2012-07-17 17:05:05 -07:00
target_core_fabric_configfs.h