From: Mike Christie Date: Wed, 21 May 2008 20:54:18 +0000 (-0500) Subject: [SCSI] libiscsi, iser, tcp: remove recv_lock X-Git-Tag: v2.6.27-rc1~1059^2~48 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=913e5bf435617aa529919a4f7567f849f9f35f9f;p=pandora-kernel.git [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 Signed-off-by: James Bottomley --- Reading git-diff-tree failed