diff options
author | Hannes Reinecke <hare@suse.de> | 2008-07-17 23:52:57 (GMT) |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-26 19:14:51 (GMT) |
commit | 4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886 (patch) | |
tree | 4a577f6a1932923bfbcb8592f4a4f2a7935616dd /include/scsi/scsi_dh.h | |
parent | 765cbc6dad16b87724803e359d6be792ddf08614 (diff) | |
download | linux-4c05ae52fcb0e27a2ee4a16d1f31f8c547fd4886.tar.xz |
[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