diff options
author | Jeff Skirvin <jeffrey.d.skirvin@intel.com> | 2011-03-04 17:06:44 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-07-03 06:55:29 -0400 |
commit | ec6c9638b0d0537430f78a3e20503b5e68a537b6 (patch) | |
tree | b6d05437adb1c8bc40a02e2fa82ff67df57aef6d /drivers/scsi/isci/host.c | |
parent | a5fde225364df30507ba1a5aafeec85e595000d3 (diff) |
isci: Any reset indicated on an I/O completion escalates it to the error path.
If there is a pending device reset, the I/O is used to accomplish the reset by setting the
RESET bit in the task status, and then putting the task into the error handler
path using sas abort task.
Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Jacek Danecki <Jacek.Danecki@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/scsi/isci/host.c')
-rw-r--r-- | drivers/scsi/isci/host.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/scsi/isci/host.c b/drivers/scsi/isci/host.c index 153f419f1618..dc231c22ea93 100644 --- a/drivers/scsi/isci/host.c +++ b/drivers/scsi/isci/host.c | |||
@@ -290,17 +290,6 @@ static void isci_host_completion_routine(unsigned long data) | |||
290 | list_splice_init(&isci_host->requests_to_complete, | 290 | list_splice_init(&isci_host->requests_to_complete, |
291 | &completed_request_list); | 291 | &completed_request_list); |
292 | 292 | ||
293 | /* While holding the scic_lock take all of the normally completed | ||
294 | * I/Os off of the device's pending lists. | ||
295 | */ | ||
296 | list_for_each_entry(request, &completed_request_list, completed_node) { | ||
297 | |||
298 | /* Remove the request from the remote device's list | ||
299 | * of pending requests. | ||
300 | */ | ||
301 | list_del_init(&request->dev_node); | ||
302 | } | ||
303 | |||
304 | /* Take the list of errored I/Os from the host. */ | 293 | /* Take the list of errored I/Os from the host. */ |
305 | list_splice_init(&isci_host->requests_to_errorback, | 294 | list_splice_init(&isci_host->requests_to_errorback, |
306 | &errored_request_list); | 295 | &errored_request_list); |