]> git.karo-electronics.de Git - karo-tx-linux.git/commit
isci: When in the abort path, defeat other resume calls until done.
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Fri, 9 Mar 2012 06:42:02 +0000 (22:42 -0800)
committerDan Williams <dan.j.williams@intel.com>
Fri, 13 Apr 2012 07:14:35 +0000 (00:14 -0700)
commit982a171b2b9af1fc6cd74ef1c16aff2376219682
treef47aa8221ae9a473114b6635dd18ce1ab2ae853e
parentaa4b49e8798cd7560f677e64268558ccc11954b2
isci: When in the abort path, defeat other resume calls until done.

Completion of I/Os during the one of the abort path interface calls
from libsas can drive remote device state changes and the resumption
of the device RNC.  This is a problem when the abort path is
attempting to cleanup outstanding I/O at the same time - the resumption
can prevent the termination from occuring correctly.

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/remote_node_context.c