summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorPranith K <pranithk@gluster.com>2011-03-10 02:20:00 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-10 08:09:51 -0800
commit9c945fdebc195c030701257abf42c4959f97234e (patch)
tree055f31223e74d1c54910d1b2218be76df880fe35 /libglusterfs/src
parent34bf8de743aaff3e7c242833a10791aedc404ea3 (diff)
glusterfsd: translator info event handling implementation
Signed-off-by: Pranith Kumar K <pranithk@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 1965 (need a cmd to get io-stat details) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1965
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/glusterfs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/glusterfs.h b/libglusterfs/src/glusterfs.h
index 820ba831a..bbb865db9 100644
--- a/libglusterfs/src/glusterfs.h
+++ b/libglusterfs/src/glusterfs.h
@@ -260,6 +260,7 @@ struct _cmd_args {
char *volfile_server_transport;
uint32_t log_server_port;
char *pid_file;
+ char *sock_file;
int no_daemon_mode;
char *run_id;
int debug_mode;
@@ -318,6 +319,7 @@ struct _glusterfs_ctx {
glusterfs_graph_t *active; /* the latest graph in use */
void *master; /* fuse, or libglusterfsclient (however, not protocol/server) */
void *mgmt; /* xlator implementing MOPs for centralized logging, volfile server */
+ void *listener; /* listener of the commands from glusterd */
unsigned char measure_latency; /* toggle switch for latency measurement */
pthread_t sigwaiter;
struct mem_pool *stub_mem_pool;