"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "xlators/mgmt/glusterd/src/glusterd-bitd-svc.c" between
glusterfs-9.2.tar.gz and glusterfs-9.3.tar.gz

About: GlusterFS is a network/cluster filesystem. The storage server (or each in a cluster) runs glusterfsd and the clients use mount command or glusterfs client to mount the exported filesystem. Release series 9.x (latest version).

glusterd-bitd-svc.c  (glusterfs-9.2):glusterd-bitd-svc.c  (glusterfs-9.3)
skipping to change at line 23 skipping to change at line 23
#include "glusterd.h" #include "glusterd.h"
#include "glusterd-utils.h" #include "glusterd-utils.h"
#include "glusterd-volgen.h" #include "glusterd-volgen.h"
#include "glusterd-bitd-svc.h" #include "glusterd-bitd-svc.h"
#include "glusterd-svc-helper.h" #include "glusterd-svc-helper.h"
void void
glusterd_bitdsvc_build(glusterd_svc_t *svc) glusterd_bitdsvc_build(glusterd_svc_t *svc)
{ {
svc->manager = glusterd_bitdsvc_manager; svc->manager = glusterd_bitdsvc_manager;
svc->start = glusterd_bitdsvc_start; svc->start = glusterd_genericsvc_start;
svc->stop = glusterd_bitdsvc_stop; svc->stop = glusterd_bitdsvc_stop;
} }
int int
glusterd_bitdsvc_init(glusterd_svc_t *svc) glusterd_bitdsvc_init(glusterd_svc_t *svc)
{ {
return glusterd_svc_init(svc, bitd_svc_name); return glusterd_svc_init(svc, bitd_svc_name);
} }
static int static int
skipping to change at line 117 skipping to change at line 117
out: out:
if (ret) if (ret)
gf_event(EVENT_SVC_MANAGER_FAILED, "svc_name=%s", svc->name); gf_event(EVENT_SVC_MANAGER_FAILED, "svc_name=%s", svc->name);
gf_msg_debug(THIS->name, 0, "Returning %d", ret); gf_msg_debug(THIS->name, 0, "Returning %d", ret);
return ret; return ret;
} }
int int
glusterd_bitdsvc_start(glusterd_svc_t *svc, int flags)
int ret = -1;
dict_t *cmdict = NULL;
cmdict = dict_new();
if (!cmdict)
goto error_return;
ret = dict_set_str(cmdict, "cmdarg0", "--global-timer-wheel");
if (ret)
goto dealloc_dict;
ret = glusterd_svc_start(svc, flags, cmdict);
return ret;
glusterd_bitdsvc_stop(glusterd_svc_t *svc, int sig) glusterd_bitdsvc_stop(glusterd_svc_t *svc, int sig)
{ {
return glusterd_svc_stop(svc, sig); return glusterd_svc_stop(svc, sig);
} }
int int
glusterd_bitdsvc_reconfigure() glusterd_bitdsvc_reconfigure()
{ {
int ret = -1; int ret = -1;
xlator_t *this = NULL; xlator_t *this = NULL;
 End of changes. 2 change blocks. 
23 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)