From: Hannes Reinecke Date: Thu, 17 Jul 2008 23:52:57 +0000 (-0700) Subject: [SCSI] scsi_dh: Add 'dh_state' sysfs attribute X-Git-Tag: v2.6.27-rc1~55^2~31 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886;p=pandora-kernel.git [SCSI] scsi_dh: Add 'dh_state' sysfs attribute Implement a 'dh_state' sdev attribute for dynamic device handler manipulation. A read on the attribute will return the name of the currently attached device handler or 'detached' if no handler is attached. The attribute allows the following strings to be written: - The name of the device handler to be attached if the state is 'detached'. - 'activate' to trigger path activation if a device handler is attached. - 'detach' to detach the currently attached device handler. Signed-off-by: Hannes Reinecke Signed-off-by: Chandra Seetharaman Signed-off-by: James Bottomley --- Reading git-diff-tree failed