[Gluster-devel] glusterd takes a long time to start

Bharata B Rao bharata.rao at gmail.com
Wed Sep 26 04:05:41 UTC 2012


Hi,

With recent git tree, glusterd takes a long time to start.

Earlier:
[root at bharata glusterfs]# time glusterd

real    0m0.007s
user    0m0.001s
sys     0m0.006s

Now:
[root at bharata glusterfs]# time glusterd

real    0m4.152s
user    0m0.003s
sys     0m0.009s

git bisect points to this commit:

[root at bharata glusterfs]# git bisect bad
373b25827f0250d11461fbe76dd6a0e295069171 is the first bad commit
commit 373b25827f0250d11461fbe76dd6a0e295069171
Author: Anand Avati <avati at redhat.com>
Date:   Mon Aug 20 10:48:16 2012 -0700

    core: enable process to return the appropriate error code

    Setup a pipe() in glusterfs_ctx_t to communicate with the fork'ed
    child the exit status and return it to the shell.

    Change-Id: Ibbaa581d45acb24d5141e43ae848cae29312d95f
    BUG: 762935
    Signed-off-by: Anand Avati <avati at redhat.com>
    Reviewed-on: http://review.gluster.org/3836
    Tested-by: Gluster Build System <jenkins at build.gluster.com>
    Reviewed-by: Amar Tumballi <amarts at redhat.com>

Regards,
Bharata.
-- 
http://bharata.sulekha.com/blog/posts.htm, http://raobharata.wordpress.com/




More information about the Gluster-devel mailing list