aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/mpt2sas/mpi/mpi2_raid.h
diff options
context:
space:
mode:
authorDan Williams <[email protected]>2012-06-22 06:41:46 +0000
committerJames Bottomley <[email protected]>2012-08-24 09:10:23 +0000
commit2fcbdcb4c802fe40d6827dbc365dac90cfe8c0a3 (patch)
treed4a583b2477afcf474a4ec226406748d9a327613 /drivers/scsi/mpt2sas/mpi/mpi2_raid.h
parent[SCSI] libata: reset once (diff)
downloadkernel-2fcbdcb4c802fe40d6827dbc365dac90cfe8c0a3.tar.gz
kernel-2fcbdcb4c802fe40d6827dbc365dac90cfe8c0a3.zip
[SCSI] libata: export ata_port suspend/resume infrastructure for sas
Reuse ata_port_{suspend|resume}_common for sas. This path is chosen over adding coordination between ata-tranport and sas-transport because libsas wants to revalidate the domain at resume-time at the host level. It can not validate links have resumed properly until libata has had a chance to perform its revalidation, and any sane placing of an ata_port in the sas-transport model would delay it's resumption until after the host. Export the common portion of port suspend/resume (bypass pm_runtime), and allow sas to perform these operations asynchronously (similar to the libsas async-ata probe implmentation). Async operation is determined by having an external, rather than stack based, location for storing the result of the operation. Signed-off-by: Dan Williams <[email protected]> Reviewed-by: Jacek Danecki <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: James Bottomley <[email protected]>
Diffstat (limited to 'drivers/scsi/mpt2sas/mpi/mpi2_raid.h')
0 files changed, 0 insertions, 0 deletions