Skip to content
Commit 8b56a30c authored by Sachin Bhamare's avatar Sachin Bhamare Committed by Boaz Harrosh
Browse files

exofs: Add SYSFS info for autologin/pNFS export



Introduce sysfs infrastructure for exofs cluster filesystem.

Each OSD target shows up as below in the sysfs hierarchy:
	/sys/fs/exofs/<osdname>_<partition_id>/devX

Where <osdname>_<partition_id> is the unique identification
of a Superblock.

Where devX: 0 <= X < device_table_size. They are ordered
in device-table order as specified to the mkfs.exofs command

Each OSD device  devX has following attributes :
	osdname - ReadOnly
	systemid - ReadOnly
	uri - Read/Write

It is up to user-mode to update devX/uri for support of
autologin.

These sysfs information are used both for autologin as well
as support for exporting exofs via a pNFSD server in user-mode.
(.eg NFS-Ganesha)

Signed-off-by: default avatarSachin Bhamare <sbhamare@panasas.com>
Signed-off-by: default avatarBoaz Harrosh <bharrosh@panasas.com>
parent 6abe4a87
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment