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>
This commit is contained in:
Bart Van Assche
2010-11-26 15:08:38 -05:00
committed by David Dillow
부모 94a9174c63
커밋 e968467822
2개의 변경된 파일25개의 추가작업 그리고 23개의 파일을 삭제

파일 보기

@@ -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];