Re: Rebalance source code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had seen this function before but when dht xlator is not loaded in server side, how this function will be called?

On Wed, Jun 7, 2017 at 4:58 PM, Nithya Balachandran <nbalacha@xxxxxxxxxx> wrote:


On 7 June 2017 at 17:31, Tahereh Fattahi <t28.fattahi@xxxxxxxxx> wrote:
Hi
I want to follow the process when rebalance command is done.
Which files should I read?
I see something in cli directory that sends request to another abject. But I need to find function that do core operation of rebalance.
I expect to see something like this in one function:
function rebalance
{
check all bricks
fix_layout for all directories
start files migration
}
Where can I find the core functions of rebalance in server side?

You can start with gf_defrag_start_crawl in dht-rebalance.c

Regards,
Nithya
 

_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel


_______________________________________________
Gluster-devel mailing list
Gluster-devel@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-devel

[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux