[SCSI] libsas: add mutex for SMP task execution
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Wed, 16 Nov 2011 09:44:13 +0000 (09:44 +0000)
committerJames Bottomley <JBottomley@Parallels.com>
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 <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_discover.c
drivers/scsi/libsas/sas_expander.c
include/scsi/libsas.h