diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2011-11-16 09:44:13 +0000 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 14:22:49 -0600 |
commit | 89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b (patch) | |
tree | 6da0cf7d0f6e0ff10890f456e754aa6f76013452 /include/scsi | |
parent | 1f4fe89c9c78d3163cf1e389bdc6438a44b64244 (diff) | |
download | lwn-89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b.tar.gz lwn-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.h | 2 |
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 ---------- */ |