[SCSI] libsas: add mutex for SMP task execution
authorJeff Skirvin <[email protected]>
Wed, 16 Nov 2011 09:44:13 +0000 (09:44 +0000)
committerJames Bottomley <[email protected]>
Sun, 19 Feb 2012 20:22:49 +0000 (14:22 -0600)
commit89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b
tree6da0cf7d0f6e0ff10890f456e754aa6f76013452
parent1f4fe89c9c78d3163cf1e389bdc6438a44b64244
[SCSI] libsas: add mutex for SMP task execution

SAS does not tag SMP requests, and at least one lldd (isci) does not permit
more than one in-flight request at a time.

[jejb: fix sas_init_dev tab issues while we're at it]
Signed-off-by: Jeff Skirvin <[email protected]>
Signed-off-by: Dan Williams <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_expander.c
include/scsi/libsas.h