mirror of
https://github.com/torvalds/linux.git
synced 2026-11-29 18:12:48 +00:00
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 <[email protected]> Reviewed-by: Mike Christie <[email protected]> Signed-off-by: Roland Dreier <[email protected]>