summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/glusterfs.h
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2018-04-19 12:50:20 +0530
committerPrashanth Pai <ppai@redhat.com>2018-04-19 15:18:40 +0530
commit9e7082b756058fe04d79c046fbd6dcbfa75a1716 (patch)
tree4a8134dc93284ef8eba606aa8bb773321c22d96f /libglusterfs/src/glusterfs.h
parent0043c63f70776444f69667a4ef9596217ecb42b7 (diff)
Make glusterfsd binary print statedump & xlator dir
The glusterd2 needs following options, some of which are provided by gluster CLI today: --print-xlatordir --print-statedumpdir --print-logdir However, the CLI package need not be present on the machine running glusterd2. This change adds the above CLI options to glusterfsd binary which glusterd2 depends on. Reverts 9a1ae47c8d60836ae0628a04a153f28c1085c0e8 Related changes: https://review.gluster.org/#/c/19882/ https://github.com/gluster/glusterd2/pull/663 Updates: bz#1193929 Change-Id: I18c123b0d3350d2bd4f2400783e3b94e402a4e29 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'libglusterfs/src/glusterfs.h')
-rw-r--r--libglusterfs/src/glusterfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 5b9f2a45405..904d4b60d75 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -451,6 +451,9 @@ struct _cmd_args {
int32_t max_connect_attempts;
char *print_exports;
char *print_netgroups;
+ int print_xlatordir;
+ int print_statedumpdir;
+ int print_logdir;
/* advanced options */
uint32_t volfile_server_port;
char *volfile_server_transport;