2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-21 11:44:01 +08:00
linux-next/drivers/scsi/osd
Boaz Harrosh 51976a8c85 [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>
2012-11-27 08:59:34 +04:00
..
Kbuild [SCSI] osd: Remove out-of-tree left overs 2009-06-10 09:00:41 -05:00
Kconfig osd: Kconfig remove wrong FIXME 2011-09-22 14:14:05 +03:00
osd_debug.h
osd_initiator.c scsi: Fix up files implicitly depending on module.h inclusion 2011-10-31 19:31:24 -04:00
osd_uld.c [SCSI] osd_uld: Add osdname & systemid sysfs at scsi_osd class 2012-11-27 08:59:34 +04:00