]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
isci: Fix RNC AWAIT_SUSPENSION->INVALIDATING transition.
authorJeff Skirvin <jeffrey.d.skirvin@intel.com>
Tue, 13 Mar 2012 23:36:35 +0000 (16:36 -0700)
committerDan Williams <dan.j.williams@intel.com>
Thu, 17 May 2012 21:33:44 +0000 (14:33 -0700)
commit79cbab89ff31b6c6ab896d4ed5e3b2ae65193a96
treecd88e03d748a9bc6b2df873fc430c3b62282e170
parent3ef768c6c0caa83b9fe66f19a18898ed0315ac36
isci: Fix RNC AWAIT_SUSPENSION->INVALIDATING transition.

The RNC state machine would incorrectly transition from
SCI_RNC_AWAIT_SUSPENSION directly to SCI_RNC_INVALIDATING when a destruct
request was made.  This would skip the increment of the suspension count
and the abort of pending TCs (although the invalidating state would at
least cleanup outstanding TCs).

Instead, the RNC will transition to SCI_RNC_SUSPENDED and then start the
destruction process.

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