[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>
This commit is contained in:
parent
1f4fe89c9c
commit
89d3cf6ac3
3 changed files with 34 additions and 28 deletions
|
@ -153,6 +153,8 @@ struct expander_device {
|
|||
|
||||
struct ex_phy *ex_phy;
|
||||
struct sas_port *parent_port;
|
||||
|
||||
struct mutex cmd_mutex;
|
||||
};
|
||||
|
||||
/* ---------- SATA device ---------- */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue