]> 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)
commit931b6d30298f69f02f53d7db3884041beb9adbb3
tree3b3a82136e398355f0b7e07215741798a6007233
parent7042ceda3fef49d62f9d172a9aa3ed962ad218b1
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