glusterd: rebalance should use runner_run_nowait to free up glusterd's epoll thread
Change-Id: Ia32b8c426643e1affcb02dbfb8f32b1844f34303 BUG: 861342 Signed-off-by: Krishnan Parthasarathi <kparthas@redhat.com> Reviewed-on: http://review.gluster.org/4024 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
This commit is contained in:
parent
565cf6625d
commit
cffc375665
@ -250,10 +250,9 @@ glusterd_handle_defrag_start (glusterd_volinfo_t *volinfo, char *op_errstr,
|
||||
if (volinfo->memory_accounting)
|
||||
runner_add_arg (&runner, "--mem-accounting");
|
||||
|
||||
ret = runner_run_reuse (&runner);
|
||||
ret = runner_run_nowait (&runner);
|
||||
if (ret) {
|
||||
runner_log (&runner, "glusterd", GF_LOG_DEBUG, "command failed");
|
||||
runner_end (&runner);
|
||||
gf_log ("glusterd", GF_LOG_DEBUG, "rebalance command failed");
|
||||
goto out;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user