linux/include/scsi
Mike Christie 661134ad37 [SCSI] libiscsi, bnx2i: make bound ep check common
bnx2i currently has a check for if a ep is properly bound, so if
iscsi_queuecommand/xmit_task is called while there is no ep
we will not queue IO.

be2iscsi sends IO from queuecommand/xmit_task like how bnx2i does
and needs a similar test. This patch has us just use the suspend_bit
test for this.

When ep_poll has succeeed iscsid will call conn_bind, the LLD will
then call iscsi_conn_bind which will clear the suspend bit.
When ep_disconnect is called (or if there is a conn error) we set
the suspend bit. For the ep_disconnect case I am adding a helper
in this patch that will take the session lock to make sure
iscsi_queuecommand/xmit_task is not running and it will set
the suspend bit.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
2009-09-12 09:35:33 -05:00
..
fc [SCSI] libfc: fix: empty zone causes endless discovery retries. 2009-09-10 12:07:50 -05:00
fc_encode.h [SCSI] libfc: send GPN_ID in reaction to single-port RSCNs. 2009-09-10 12:08:03 -05:00
fc_frame.h [SCSI] libfc: Remove FC_FRAME_SG_LEN in fc_fcp_send_data 2009-08-22 17:52:10 -05:00
iscsi_if.h [SCSI] iscsi_tcp: add new conn error to indicate tcp conn closed 2009-09-05 09:42:47 -05:00
iscsi_proto.h
Kbuild [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
libfc.h [SCSI] libfc: use ADISC to verify rport login state 2009-09-10 12:08:02 -05:00
libfcoe.h
libiscsi_tcp.h
libiscsi.h [SCSI] libiscsi, bnx2i: make bound ep check common 2009-09-12 09:35:33 -05:00
libsas.h
libsrp.h
osd_attributes.h
osd_initiator.h [SCSI] osduld: use filp_open() when looking up an osd-device 2009-06-10 09:00:25 -05:00
osd_protocol.h
osd_sec.h
osd_sense.h
osd_types.h
sas_ata.h
sas.h
scsi_bsg_fc.h [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
scsi_cmnd.h
scsi_dbg.h
scsi_device.h [SCSI] scsi_dh: add the interface scsi_dh_set_params() 2009-08-22 17:52:14 -05:00
scsi_devinfo.h
scsi_dh.h [SCSI] scsi_dh: add the interface scsi_dh_set_params() 2009-08-22 17:52:14 -05:00
scsi_driver.h sd, sr: fix Driver 'sd' needs updating message 2009-06-21 12:01:27 -05:00
scsi_eh.h
scsi_host.h [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
scsi_ioctl.h
scsi_netlink_fc.h
scsi_netlink.h
scsi_scan.h
scsi_tcq.h
scsi_tgt_if.h
scsi_tgt.h
scsi_transport_fc.h [SCSI] FC Pass Thru support 2009-06-12 14:20:05 -05:00
scsi_transport_iscsi.h
scsi_transport_sas.h
scsi_transport_spi.h [SCSI] aic79xx: make driver respect nvram for IU and QAS settings 2009-06-15 10:09:35 -05:00
scsi_transport_srp.h
scsi_transport.h
scsi.h
scsicam.h
sg.h
srp.h