]> Pileus Git - ~andy/linux/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>
Thu, 17 May 2012 21:33:41 +0000 (14:33 -0700)
commit0c3ce38f1bc8b6a6d8df0959e3c0dece31f9350c
tree22d5fb8aaea17b1ea51b060e51f5a709e382c6e0
parent31a38ef0a5ad12dbe262ca55d0a905657be55a8d
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