diff options
author | Amar Tumballi <amarts@redhat.com> | 2018-09-23 23:53:39 +0530 |
---|---|---|
committer | Raghavendra G <rgowdapp@redhat.com> | 2018-10-02 11:07:32 +0000 |
commit | c96778b354ea82943442aab158adbb854ca43a52 (patch) | |
tree | 059544726c6424583d75b6fceba200abc7a83789 /extras/glusterd.vol.in | |
parent | ff00ce1d55e34ec77e93e742533928edf653e2d2 (diff) |
rpc: make binding to port 0 as the default if no option is provided
Right now, if no option is provided, the default port is assumed,
which is 24007. Ideally, for 'glusterfsd' processes, it is better
to not assume there are any ports given, so it can start listening
on any port which is available.
This helps us to cleanup the dependencies on glusterd from glusterfsd
at the moment. No changes would be done to glusterd code, but making
the right defaults helps to make glusterfsd more independent process
later.
NOTE: This patch is a reduced version of below set of patches:
* https://review.gluster.org/14613/ &
* https://review.gluster.org/14670/ &
* https://review.gluster.org/14671/
Credits: Prasanna Kumar Kalever <pkalever@redhat.com>
updates: bz#1343926
Change-Id: Ib874e10505e7366dc56ba754458252b67052e653
Signed-off-by: Amar Tumballi <amarts@redhat.com>
Diffstat (limited to 'extras/glusterd.vol.in')
-rw-r--r-- | extras/glusterd.vol.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/extras/glusterd.vol.in b/extras/glusterd.vol.in index fe413a9b4ab..e59b17efcac 100644 --- a/extras/glusterd.vol.in +++ b/extras/glusterd.vol.in @@ -5,6 +5,8 @@ volume management option transport.socket.keepalive-time 10 option transport.socket.keepalive-interval 2 option transport.socket.read-fail-log off + option transport.socket.listen-port 24007 + option transport.rdma.listen-port 24008 option ping-timeout 0 option event-threads 1 # option lock-timer 180 |