aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/isci/remote_device.h
diff options
context:
space:
mode:
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>2012-03-09 01:42:01 -0500
committerDan Williams <dan.j.williams@intel.com>2012-05-17 17:33:41 -0400
commit31a38ef0a5ad12dbe262ca55d0a905657be55a8d (patch)
treecf05c3c5fb97670711e58edc6708d7f52e02f418 /drivers/scsi/isci/remote_device.h
parent08c031e4e3294a66a64074e12482abda846dd39c (diff)
isci: Implement waiting for suspend in the abort path.
In order to prevent a device from receiving an I/O request while still in an RNC suspending or resuming state (and therefore failing that I/O back to libsas with a reset required status) wait for the RNC state change before proceding in the abort path. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/remote_device.h')
-rw-r--r--drivers/scsi/isci/remote_device.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/scsi/isci/remote_device.h b/drivers/scsi/isci/remote_device.h
index ef563e5360a3..d1d18925fbfc 100644
--- a/drivers/scsi/isci/remote_device.h
+++ b/drivers/scsi/isci/remote_device.h
@@ -357,11 +357,9 @@ enum sci_status sci_remote_device_resume(
357 scics_sds_remote_node_context_callback cb_fn, 357 scics_sds_remote_node_context_callback cb_fn,
358 void *cb_p); 358 void *cb_p);
359 359
360enum sci_status isci_remote_device_resume( 360enum sci_status isci_remote_device_resume_from_abort(
361 struct isci_host *ihost, 361 struct isci_host *ihost,
362 struct isci_remote_device *idev, 362 struct isci_remote_device *idev);
363 scics_sds_remote_node_context_callback cb_fn,
364 void *cb_p);
365 363
366enum sci_status isci_remote_device_reset( 364enum sci_status isci_remote_device_reset(
367 struct isci_host *ihost, 365 struct isci_host *ihost,