]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
isci: don't hold scic_lock over calls to sas_task_abort()
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Wed, 16 Mar 2011 16:41:59 +0000 (09:41 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 10:55:30 +0000 (03:55 -0700)
commitc4b9e24c4be67aeed44cd46ef5ea92948d02a426
treedc202ca9bd69321fc8b2540d20b8d1fc17a4eb89
parent1077a574103177bff22b7cdd155d960f46ac1e8f
isci: don't hold scic_lock over calls to sas_task_abort()

In the case where submitted I/Os fail with the status code
SCI_FAILURE_REMOTE_DEVICE_RESET_REQUIRED, the execute function now waits
until scic_lock is cleared before calling the helper function
"isci_request_signal_device_reset" which sets the flag for the pending
reset condition on the I/O.

Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/request.c