From: Or Gerlitz Date: Mon, 8 Feb 2010 13:23:11 +0000 (+0000) Subject: IB/iser: Remove redundant locking from iser scsi command response flow X-Git-Tag: v2.6.34-rc1~225^2~4^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88ec415772144f4fc4a50b123bb6200de686898d;p=pandora-kernel.git IB/iser: Remove redundant locking from iser scsi command response flow Currently the iSER receive completion flow takes the session lock twice. Optimize it to avoid the first one by letting iser_task_rdma_finalize() be called only from the cleanup_task callback invoked by iscsi_free_task, thus reducing the contention on the session lock between the scsi command submission to the scsi command completion flows. Signed-off-by: Or Gerlitz Reviewed-by: Mike Christie Signed-off-by: Roland Dreier --- Reading git-diff-tree failed