diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2011-11-16 10:44:13 +0100 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-02-19 21:22:49 +0100 |
commit | 89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b (patch) | |
tree | 6da0cf7d0f6e0ff10890f456e754aa6f76013452 /include/scsi/libsas.h | |
parent | [SCSI] libsas: Remove redundant phy state notification calls. (diff) | |
download | linux-89d3cf6ac3cdc4f15a82709f8c78ed169a98be5b.tar.xz 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 '')
-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 ---------- */ |