[Removing gluster-users, since this thread is more relevant in gluster-devel]
Xinguo, You must add the breakpoints to the 'rebalance' process and not glusterd. You can identify the rebalance process(es) as below, ps ax | grep "dht.rebalance-cmd" The expression supplied to grep for matching is part of the command line arguments to the rebalance process. Hope that helps, thanks, Krish ----- Original Message ----- > Hello, > I am a graduate from Computer Department of Sichuan University in China , and > I have joined the mailing lists today. Two days agao I have sent a email to > the lists for a question ,but I have not receive any reply untill now , so I > thought if I have not subscribe the question clearly and send this email > again. > I want to know what happened during the "fix layout" procedure so I debug it > in the gdb . I have maked the source code with “make CFLAGS="-g -O0" && make > install” to debug it . But when I attached the glusterd process and make > breakpoints in it and execute the "rebalance ... fix layou.." commond , the > glusterd process did not stop at these breakpoints . My breakpoints is at > functions :gf_defrag_start_crawl() and gf_defrag_fix_layout .So what should > I do to let the process stop at the breakpoints to follow the "fix layout" > procedure? I have tried many methods and non of them helps,please help me , > thanks! > --Xinguo Liu > 2014.1.20 > > > > _______________________________________________ > Gluster-users mailing list > gluster-us...@gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users _______________________________________________ Gluster-devel mailing list Gluster-devel@nongnu.org https://lists.nongnu.org/mailman/listinfo/gluster-devel