]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isci: Make sure all TCs are terminated and cleaned in LUN reset.
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Fri, 9 Mar 2012 06:42:00 +0000 (22:42 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Apr 2012 07:14:35 +0000 (00:14 -0700)
commit0f2f1621acd744061a7a560c64c7644101a43fd0
treeee595d8505b6fcf4ac1928d756118358bd3ee25a
parent876f3f84f55a28e846ef30ec828576d31c48cf94
isci: Make sure all TCs are terminated and cleaned in LUN reset.

In the libsas error path, SATA disks require extra handling in
libata to recover operation.  However, libsas expects to be able
to immediately recover all outstanding I/O once the error handler
escalation stops.  This patch fixes the condition where the libata
error handler is scheduled for operation but libsas has already
deleted the outstanding sas_tasks.

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