From: James Bottomley Date: Fri, 22 Aug 2008 21:53:31 +0000 (-0500) Subject: [SCSI] Update the SCSI state model to allow blocking in the created state X-Git-Tag: v2.6.28-rc1~732^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6f4267e3bd1211b3d09130e626b0b3d885077610;p=pandora-kernel.git [SCSI] Update the SCSI state model to allow blocking in the created state Brian King reported that fibre channel devices can oops during scanning if their ports block (because the device goes from CREATED -> BLOCK -> RUNNING rather than CREATED -> BLOCK -> CREATED). Fix this by adding a new state: CREATED_BLOCK which can only transition back to CREATED and disallow the CREATED -> BLOCK transition. Now both the created and blocked states that the mid-layer recognises can include CREATED_BLOCK. Signed-off-by: James Bottomley --- Reading git-diff-tree failed