summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2011-11-16 09:44:13 +0000
committerJames Bottomley <JBottomley@Parallels.com>2012-02-19 14:22:49 -0600
commit89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b (patch)
tree6da0cf7d0f6e0ff10890f456e754aa6f76013452 /include/scsi
parent1f4fe89c9c78d3163cf1e389bdc6438a44b64244 (diff)
downloadlinux-89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b.tar.gz
linux-89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b.tar.bz2
linux-89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b.zip
[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>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/libsas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/scsi/libsas.h b/include/scsi/libsas.h
index f388ba536128..18704a2e4f07 100644
--- a/include/scsi/libsas.h
+++ b/include/scsi/libsas.h
@@ -153,6 +153,8 @@ struct expander_device {
struct ex_phy *ex_phy;
struct sas_port *parent_port;
+
+ struct mutex cmd_mutex;
};
/* ---------- SATA device ---------- */