android_kernel_xiaomi_sm8350/drivers/infiniband/ulp/iser
Mike Christie 913e5bf435 [SCSI] libiscsi, iser, tcp: remove recv_lock
The recv lock was defined so the iscsi layer could block
the recv path from processing IO during recovery. It
turns out iser just set a lock to that pointer which was pointless.

We now disconnect the transport connection before doing recovery
so we do not need the recv lock. For iscsi_tcp we still stop
the recv path incase older tools are being used.

This patch also has iscsi_itt_to_ctask user grab the session lock
and has the caller access the task with the lock or get a ref
to it in case the target is broken and sends a tmf success response
then sends data or a response for the command that was supposed to
be affected bty the tmf.

Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
2008-07-12 08:22:22 -05:00
..
iscsi_iser.c [SCSI] libiscsi, iser, tcp: remove recv_lock 2008-07-12 08:22:22 -05:00
iscsi_iser.h [SCSI] libiscsi, iser, tcp: remove recv_lock 2008-07-12 08:22:22 -05:00
iser_initiator.c [SCSI] libiscsi, iser, tcp: remove recv_lock 2008-07-12 08:22:22 -05:00
iser_memory.c [SCSI] iser: handle iscsi_cmd_task rename 2008-07-12 08:22:20 -05:00
iser_verbs.c [SCSI] iser: Modify iser to take a iscsi_endpoint struct in ep callouts and session setup 2008-07-12 08:22:21 -05:00
Kconfig IB/iser: update URLs of iSER docs 2008-01-25 14:15:32 -08:00
Makefile