isci: Properly handle requests in the "aborting" state.
When a TMF times-out, the request is set back to "aborting". Requests in the "aborting" state must be terminated when LUN and device resets occur. Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com> Signed-off-by: Dan Williams <dan.j.williams@intel.com>
This commit is contained in:

committed by
Dan Williams

parent
de728b7d72
commit
f219f010a3
@@ -199,7 +199,7 @@ static inline enum isci_request_status isci_request_change_started_to_newstate(
|
||||
|
||||
old_state = isci_request->status;
|
||||
|
||||
if (old_state == started) {
|
||||
if (old_state == started || old_state == aborting) {
|
||||
BUG_ON(isci_request->io_request_completion != NULL);
|
||||
|
||||
isci_request->io_request_completion = completion_ptr;
|
||||
|
Reference in New Issue
Block a user