Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271090
b: refs/heads/master
c: cd06b9b
h: refs/heads/master
v: v3
  • Loading branch information
Jeff Skirvin authored and James Bottomley committed Oct 2, 2011
1 parent 9168c89 commit d360d08
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: b50102d3e9a43a75379407c2080f696f61cb286b
refs/heads/master: cd06b9bae18c64658d5a86526fb19cfe0ea8814f
19 changes: 19 additions & 0 deletions trunk/drivers/scsi/isci/task.h
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,25 @@ isci_task_set_completion_status(
task->task_status.resp = response;
task->task_status.stat = status;

switch (task->task_proto) {

case SAS_PROTOCOL_SATA:
case SAS_PROTOCOL_STP:
case SAS_PROTOCOL_SATA | SAS_PROTOCOL_STP:

if (task_notification_selection
== isci_perform_error_io_completion) {
/* SATA/STP I/O has it's own means of scheduling device
* error handling on the normal path.
*/
task_notification_selection
= isci_perform_normal_io_completion;
}
break;
default:
break;
}

switch (task_notification_selection) {

case isci_perform_error_io_completion:
Expand Down

0 comments on commit d360d08

Please sign in to comment.