[PATCH 2/6] SCSI/libiscsi: Reduce locking contention in fast path (v2)

2014-02-06 Thread michaelc
From: Shlomo Pongratz shlo...@mellanox.com Replace the session lock with two locks, a forward lock and a backwards lock named frwd_lock and back_lock respectively. The forward lock protects resources that change while sending a request to the target, such as cmdsn, queued_cmdsn, and allocating

Re: [PATCH 2/6] SCSI/libiscsi: Reduce locking contention in fast path

2014-01-17 Thread Mike Christie
On 12/20/2013 12:53 PM, micha...@cs.wisc.edu wrote: From: Shlomo Pongratz shlo...@mellanox.com Replace the session lock with two locks, a forward lock and a backwards lock named frwd_lock and back_lock respectively. . Signed-off-by: Shlomo Pongratz shlo...@mellanox.com

[PATCH 2/6] SCSI/libiscsi: Reduce locking contention in fast path

2013-12-20 Thread michaelc
From: Shlomo Pongratz shlo...@mellanox.com Replace the session lock with two locks, a forward lock and a backwards lock named frwd_lock and back_lock respectively. The forward lock protects resources that change while sending a request to the target, such as cmdsn, queued_cmdsn, and allocating