diff options
author | Sachin Bhamare <sbhamare@panasas.com> | 2012-03-15 01:01:45 (GMT) |
---|---|---|
committer | Boaz Harrosh <bharrosh@panasas.com> | 2012-05-21 09:24:01 (GMT) |
commit | 8b56a30caaf9bc1850784f196636c5f550cc7577 (patch) | |
tree | 0e1be3d4f929a385c666fd7b269763f59fe215e5 /fs/quota/dquot.c | |
parent | 6abe4a87f7bc7978705c386dbba0ca0c7790b3ec (diff) | |
download | linux-fsl-qoriq-8b56a30caaf9bc1850784f196636c5f550cc7577.tar.xz |
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: Sachin Bhamare <sbhamare@panasas.com>
Signed-off-by: Boaz Harrosh <bharrosh@panasas.com>
Diffstat (limited to 'fs/quota/dquot.c')
0 files changed, 0 insertions, 0 deletions