[SCSI] libsas: perform sas-transport resets in shost->workq context
commit0b3e09da1350397f3f8b6fd839ab455b0b587451
authorDan Williams <dan.j.williams@intel.com>
Tue, 20 Dec 2011 09:03:48 +0000 (20 01:03 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 20:11:33 +0000 (19 14:11 -0600)
treef822bb4dcaa52d5d568104932ee55ee136dcf039
parentb52df4174dff7e587f6fbfb21e3c2cb57109e5cf
[SCSI] libsas: perform sas-transport resets in shost->workq context

Extend the sas transport class to allow transport users to attach extra
data to a sas_phy (->hostdata).  Use this area in libsas to move resets
to workq context in preparation for scheduling ata device resets through
libata-eh.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/libsas/sas_event.c
drivers/scsi/libsas/sas_init.c
drivers/scsi/libsas/sas_internal.h
drivers/scsi/scsi_transport_sas.c
include/scsi/scsi_transport_sas.h