]> git.baikalelectronics.ru Git - kernel.git/commit
isci: Handle timed-out request terminations correctly
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Mon, 20 Jun 2011 21:09:16 +0000 (14:09 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:50 +0000 (04:04 -0700)
commitf467c8685c768b721e757e56d01d8e68d320332f
treebb0f8a9694f1f2cf4d7985ef3dc40af79963c4f7
parent695cb47bcc7a4812d8606ed31d5ac6907372603e
isci: Handle timed-out request terminations correctly

In the situation where a termination of an I/O times-out,
make sure that the linkage from the request to the task
is severed completely.  Also make sure that the selection
of tasks to terminate occurs under scic_lock.

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