OSDN Git Service

[SCSI] isci: Handle task request timeouts correctly.
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Thu, 27 Oct 2011 22:05:06 +0000 (15:05 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Mon, 31 Oct 2011 09:16:23 +0000 (13:16 +0400)
commitb343dff1a269bcc0eac123ef541c5476b03d52c1
treed272a97f43f44d19908bb7c5ca997a82be2e0028
parentd6891682220c18c01bf6838f30e37342c38fde44
[SCSI] isci: Handle task request timeouts correctly.

In the case where "task" requests timeout (note that this class of
requests can also include SATA/STP soft reset FIS transmissions),
handle the case where the task was being managed by some call to
terminate the task request by completing both the tmf and the aborting
process.

Signed-off-by: Jeff Skirvin <jeffrey.d.skirvin@intel.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/isci/task.c
drivers/scsi/isci/task.h