Sachin Punadikar has uploaded this change for review. (
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1248628?usp=email )
Change subject: CEPH: Add support for CEPH_USERS block
......................................................................
CEPH: Add support for CEPH_USERS block
For supporting pool of ceph clients, need to add config block
CEPH_USERS, which will hold ceph userids and associated keys for a given
cephfs. These userids and keys will be used for creating ceph clients.
The total number of ceph userids required will be governed by config
parameter "clients_per_pool" in CEPH block. See below:
CEPH {
clients_per_pool = 3;
}
And the userids and associated keys will be in CEPH_USERS block as shown
below:
CEPH_USERS {
USERS {
FileSystem = a;
Userids = user1, user2, user3;
Keys = key1, key2, key3;
}
}
Ganesha should be able to parse this and provide a specific userid and key
for a given filesystem.
The CEPH_USERS block should be re-read on getting SIGHUP.
Change-Id: Ie4df7ef32e0ef1e77c9a8817e07ffbaea5a52e70
Signed-off-by: Sachin Punadikar <sachin.punadikar(a)ibm.com>
---
M src/FSAL/FSAL_CEPH/internal.h
M src/FSAL/FSAL_CEPH/main.c
M src/config_samples/config.txt
M src/doc/man/ganesha-ceph-config.rst
4 files changed, 428 insertions(+), 3 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/28/1248628/1
--
To view, visit
https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1248628?usp=email
To unsubscribe, or for help writing mail filters, visit
https://review.gerrithub.io/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Ie4df7ef32e0ef1e77c9a8817e07ffbaea5a52e70
Gerrit-Change-Number: 1248628
Gerrit-PatchSet: 1
Gerrit-Owner: Sachin Punadikar <sachin.punadikar(a)ibm.com>