diff options
author | Boaz Harrosh <bharrosh@panasas.com> | 2012-10-24 14:51:41 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2012-11-27 08:59:34 +0400 |
commit | 51976a8c85cec0c62e410bc38b8a11dbc690764d (patch) | |
tree | f794cefb30f5cbe532b4abc0de32349eb1757983 /sound/synth | |
parent | afd5e34b2bb34881d3a789e62486814a49b47faa (diff) |
[SCSI] osd_uld: Add osdname & systemid sysfs at scsi_osd class
This patch adds the support for the following two read-only sysfs attributes
to scsi_osd class members : osdname & systemid
These attributes will show up as below in sysfs class hierarchy:
/sys/class/scsi_osd/osdX/osdname
/sys/class/scsi_osd/osdX/systemid
The osdname & systemid are OSD device attributes which uniquely
identify a device on the network, while it's IP and certainly
it's /dev/osdX device path might change.
Userspace utilities (e.g. mkfs.exofs) can parse these attributes to
identify the correct OSD in safer and faster way.
(Today osd apps open each device in the system and send a
attributes query for these, in order to access the user
requested device)
Signed-off-by: Sachin Bhamare <sbhamare@panasas.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'sound/synth')
0 files changed, 0 insertions, 0 deletions