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
..
2008-05-02 13:17:01 -05:00
2008-01-11 18:22:30 -06:00
2008-01-30 13:14:02 -06:00
2008-05-20 13:31:56 -07:00
2008-04-27 12:19:54 -05:00
2008-01-30 13:14:02 -06:00
2008-04-28 23:44:41 +02:00
2008-01-11 18:27:59 -06:00
2008-01-30 13:03:40 -06:00
2008-01-30 13:14:02 -06:00
2008-04-29 08:06:18 -07:00
2008-01-30 13:14:02 -06:00
2008-01-23 13:44:31 -06:00
2008-01-30 13:14:02 -06:00
2007-10-19 11:53:42 -07:00
2008-05-20 13:31:56 -07:00
2008-01-30 13:14:02 -06:00
2008-02-23 09:07:32 -06:00
2007-07-18 11:16:32 -05:00
2008-06-05 09:23:45 -05:00
2008-05-20 13:31:56 -07:00
2008-02-07 18:02:44 -06:00
2008-05-20 13:31:56 -07:00
2007-05-31 17:30:04 -04:00
2006-11-15 16:43:50 -06:00
2007-10-19 23:22:55 +02:00
2008-01-30 13:14:02 -06:00