From 6623055696e1b28267305ac45087497f4c6a884a Mon Sep 17 00:00:00 2001 From: Shehjar Tikoo Date: Thu, 25 Nov 2010 04:11:09 +0000 Subject: nfs: Export subvolumes on per-subvolume CHILD-UP ..so that nfs clients can mount an UP subvolume even if other subvolumes havent come up yet. This was a problem because nfs was waiting for all children to receive CHILD-UP before exporting any subvolume. Signed-off-by: Shehjar Tikoo Signed-off-by: Anand V. Avati BUG: 2093 (volumes cannot start when one node in a replicated setup is down) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2093 --- xlators/nfs/server/src/nfs.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'xlators/nfs/server/src/nfs.h') diff --git a/xlators/nfs/server/src/nfs.h b/xlators/nfs/server/src/nfs.h index e7a023c4a..7b93cd56e 100644 --- a/xlators/nfs/server/src/nfs.h +++ b/xlators/nfs/server/src/nfs.h @@ -106,4 +106,6 @@ nfs_user_create (nfs_user_t *newnfu, uid_t uid, gid_t gid, gid_t *auxgids, extern void nfs_request_user_init (nfs_user_t *nfu, rpcsvc_request_t *req); +extern int +nfs_subvolume_started (struct nfs_state *nfs, xlator_t *xl); #endif -- cgit