diff options
author | Niels de Vos <ndevos@redhat.com> | 2015-03-02 11:14:08 +0100 |
---|---|---|
committer | Niels de Vos <ndevos@redhat.com> | 2015-03-26 03:05:56 -0700 |
commit | 01d96d97f1bae4f83321285c701b93f2a668ad25 (patch) | |
tree | 33db5e6d2d91733c2dad5b5a97cfa8626b8a1b90 /xlators/nfs/server/src/nfs.h | |
parent | c8e095765c5ef72df9979f917b1b8e66cd8d0115 (diff) |
nfs: do not fail to start when optional RPC-programs fail to register
Some RPC-programs are not strictly required for the NFS-server. When
these optional protocols fail to get registered at the portmapper, there
is no need to fail the starting of the NFS-server.
Required RPC-programs:
- NFS
- MNT
Optional RPC-programs:
- NLM
- ACL
Change-Id: Ife8ad871cff47554e3f42eb457c76431d0181964
BUG: 1205579
Tested-by: Brad Hubbard <bhubbard@redhat.com>
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: http://review.gluster.org/9988
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
Reviewed-by: jiffin tony Thottan <jthottan@redhat.com>
Reviewed-by: soumya k <skoduri@redhat.com>
Diffstat (limited to 'xlators/nfs/server/src/nfs.h')
-rw-r--r-- | xlators/nfs/server/src/nfs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/nfs.h b/xlators/nfs/server/src/nfs.h index e2e5613d501..15aec5d7da9 100644 --- a/xlators/nfs/server/src/nfs.h +++ b/xlators/nfs/server/src/nfs.h @@ -61,6 +61,7 @@ struct nfs_initer_list { struct list_head list; nfs_version_initer_t init; rpcsvc_program_t *program; + gf_boolean_t required; }; struct nfs_state { |