isci: Terminate dev requests on FIS err bit rx in NCQ
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Fri, 24 Jun 2011 00:09:02 +0000 (17:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:51 +0000 (04:04 -0700)
commit9274f45ea551421cd3bf329de9dd8d1e6208285a
tree25e21494d3c74a5b2965485f2d76c541d49cc68b
parent4cffe13e0dfd00f90c86b0153c751dab61a1bf1d
isci: Terminate dev requests on FIS err bit rx in NCQ

When the remote device transitions to a not-ready state because of
an NCQ error condition, all outstanding requests to that device
are terminated and completed to libsas on the normal path.  The
device then waits for a READ LOG EXT command to issue on the task
management path.

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