Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254375
b: refs/heads/master
c: c4b9e24
h: refs/heads/master
i:
  254373: 1d26464
  254371: c7a5223
  254367: 1375e7e
v: v3
  • Loading branch information
Jeff Skirvin authored and Dan Williams committed Jul 3, 2011
1 parent 5048ed9 commit 2c7f1e8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1077a574103177bff22b7cdd155d960f46ac1e8f
refs/heads/master: c4b9e24c4be67aeed44cd46ef5ea92948d02a426
34 changes: 17 additions & 17 deletions trunk/drivers/scsi/isci/request.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,33 +449,33 @@ int isci_request_execute(
list_add(&request->dev_node,
&isci_device->reqs_in_process);

if (status ==
SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED) {
/* Signal libsas that we need the SCSI error
* handler thread to work on this I/O and that
* we want a device reset.
*/
isci_request_signal_device_reset(request);

/* Change the status, since we are holding
* the I/O until it is managed by the SCSI
* error handler.
*/
status = SCI_SUCCESS;
}
else
if (status == SCI_SUCCESS) {
/* Save the tag for possible task mgmt later. */
request->io_tag = scic_io_request_get_io_tag(
request->sci_request_handle);


}
} else
dev_warn(&isci_host->pdev->dev,
"%s: failed request start\n",
__func__);

spin_unlock_irqrestore(&isci_host->scic_lock, flags);

if (status ==
SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED) {
/* Signal libsas that we need the SCSI error
* handler thread to work on this I/O and that
* we want a device reset.
*/
isci_request_signal_device_reset(request);

/* Change the status, since we are holding
* the I/O until it is managed by the SCSI
* error handler.
*/
status = SCI_SUCCESS;
}

} else
dev_warn(&isci_host->pdev->dev,
"%s: request_construct failed - status = 0x%x\n",
Expand Down

0 comments on commit 2c7f1e8

Please sign in to comment.