diff options
author | Hannes Reinecke <hare@suse.de> | 2008-07-17 16:52:57 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 15:14:51 -0400 |
commit | 4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886 (patch) | |
tree | 4a577f6a1932923bfbcb8592f4a4f2a7935616dd /include/scsi/scsi_dh.h | |
parent | 765cbc6dad16b87724803e359d6be792ddf08614 (diff) | |
download | kernel_samsung_aries-4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886.zip kernel_samsung_aries-4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886.tar.gz kernel_samsung_aries-4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886.tar.bz2 |
[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 <hare@suse.de>
Signed-off-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'include/scsi/scsi_dh.h')
0 files changed, 0 insertions, 0 deletions