diff options
author | Anand Avati <avati@redhat.com> | 2012-09-20 00:32:47 -0700 |
---|---|---|
committer | Anand Avati <avati@redhat.com> | 2012-09-20 11:09:30 -0700 |
commit | aa4468cdf5acfb0087151349befa1b0d49448bd6 (patch) | |
tree | 58b58e5776ccd1ad5b20fff24a00500406bf7697 /xlators/mgmt/glusterd/src/glusterd-utils.c | |
parent | e31a5847e269d865b7248554e328bc9ac358454a (diff) |
glusterd: use runner_run_nowait() variant for starting bricks
This is a temporary change, which will be undone once glusterd is ready
for handling portmap queries in a different thread while exec'ing
brick processes.
Change-Id: I389b9c38c7444e95fe9d8d0ff20fc91f4bfaf150
BUG: 762935
Signed-off-by: Anand Avati <avati@redhat.com>
Reviewed-on: http://review.gluster.org/3963
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Pranith Kumar Karampuri <pranithk@gluster.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-utils.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 821ea2cc450..0722255ce4d 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -1306,7 +1306,7 @@ glusterd_volume_start_glusterfs (glusterd_volinfo_t *volinfo, runner_add_arg (&runner, "--mem-accounting"); runner_log (&runner, "", GF_LOG_DEBUG, "Starting GlusterFS"); - ret = runner_run (&runner); + ret = runner_run_nowait (&runner); if (ret) goto out; @@ -2966,7 +2966,7 @@ glusterd_nodesvc_start (char *server) runner_log (&runner, "", GF_LOG_DEBUG, "Starting the nfs/glustershd services"); - ret = runner_run (&runner); + ret = runner_run_nowait (&runner); if (ret == 0) { glusterd_nodesvc_connect (server, sockfpath); } |