]> git.baikalelectronics.ru Git - kernel.git/commit
isci: merge port ready substates into primary state machine
authorPiotr Sawicki <piotr.sawicki@intel.com>
Wed, 11 May 2011 23:52:21 +0000 (23:52 +0000)
committerDan Williams <dan.j.williams@intel.com>
Sun, 3 Jul 2011 11:04:49 +0000 (04:04 -0700)
commit23e489df824683c99f87936f577fa7f44a5758fa
tree3b3a82136e398355f0b7e07215741798a6007233
parentcba67e6b180593c4a9cd9a9dd416999e41857ef6
isci: merge port ready substates into primary state machine

This conversion was complicated by the fact that the ready state exit routine
took unconditional action beyond just stopping the substate machine (like in
previous conversions).  In order to ensure identical behaviour every state
transition needs to be instrumented to catch ready-->!ready transitions and
execute scic_sds_port_invalidate_dummy_remote_node()

Reported-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Piotr Sawicki <piotr.sawicki@intel.com>
[fix ready state exit handling]
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/scsi/isci/port.c
drivers/scsi/isci/port.h