]> Pileus Git - ~andy/linux/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>
Thu, 17 May 2012 21:33:40 +0000 (14:33 -0700)
commit08c031e4e3294a66a64074e12482abda846dd39c
treec7fb3392487ed731a39a75239850be657009aa56
parent9608b6408e637abeec101abb6aebd3343f0ebac4
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