21 May, 2012
1 commit
-
Introduce sysfs infrastructure for exofs cluster filesystem.
Each OSD target shows up as below in the sysfs hierarchy:
/sys/fs/exofs/_/devXWhere _ is the unique identification
of a Superblock.Where devX: 0 < device_table_size. They are ordered
in device-table order as specified to the mkfs.exofs commandEach OSD device devX has following attributes :
osdname - ReadOnly
systemid - ReadOnly
uri - Read/WriteIt 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: Sachin Bhamare
Signed-off-by: Boaz Harrosh