From: Mike Christie Date: Fri, 18 May 2012 04:56:57 +0000 (-0500) Subject: [SCSI] core, classes, mpt2sas: have scsi_internal_device_unblock take new state X-Git-Tag: v3.6-rc1~103^2~86 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d9fb5cc1b88277bb28a2a54e51b34cacaa123c2;p=pandora-kernel.git [SCSI] core, classes, mpt2sas: have scsi_internal_device_unblock take new state This has scsi_internal_device_unblock/scsi_target_unblock take the new state to set the devices as an argument instead of always setting to running. The patch also converts users of these functions. This allows the FC and iSCSI class to transition devices from blocked to transport-offline, so that when fast_io_fail/replacement_timeout has fired we do not set the devices back to running. Instead, we set them to SDEV_TRANSPORT_OFFLINE. Signed-off-by: Mike Christie Signed-off-by: James Bottomley --- Reading git-diff-tree failed