diff options
author | Bart Van Assche <bvanassche@acm.org> | 2010-11-26 20:08:38 (GMT) |
---|---|---|
committer | David Dillow <dillowda@ornl.gov> | 2011-01-10 20:44:50 (GMT) |
commit | e9684678221441f886b4d7c74f8770bb0981737a (patch) | |
tree | 76ed83fb7dd41c84c2b8e08b785a802e99c6e790 /drivers/infiniband/ulp/srp/ib_srp.h | |
parent | 94a9174c630c8465ed9e97ecd242993429930c05 (diff) | |
download | linux-e9684678221441f886b4d7c74f8770bb0981737a.tar.xz |
IB/srp: stop sharing the host lock with SCSI
We don't need protection against the SCSI stack, so use our own lock to
allow parallel progress on separate CPUs.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
[ broken out and small cleanups by David Dillow ]
Signed-off-by: David Dillow <dillowda@ornl.gov>
Diffstat (limited to 'drivers/infiniband/ulp/srp/ib_srp.h')
-rw-r--r-- | drivers/infiniband/ulp/srp/ib_srp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/infiniband/ulp/srp/ib_srp.h b/drivers/infiniband/ulp/srp/ib_srp.h index 81686ee..acb435d 100644 --- a/drivers/infiniband/ulp/srp/ib_srp.h +++ b/drivers/infiniband/ulp/srp/ib_srp.h @@ -144,6 +144,8 @@ struct srp_target_port { struct srp_iu *rx_ring[SRP_RQ_SIZE]; + spinlock_t lock; + struct list_head free_tx; struct srp_iu *tx_ring[SRP_SQ_SIZE]; |