[sheepdog] writing cluster driver

Vasiliy Tolstov v.tolstov at selfip.ru
Tue Mar 10 10:07:30 CET 2015


Hello. I'm ready to write etcd cluster driver, but i have some absent info.
For example sheperd cluster driver have struct:

static struct cluster_driver cdrv_shepherd = {
        .name           = "shepherd",
        .init           = shepherd_init,
        .join           = shepherd_join,
        .leave          = shepherd_leave,
        .notify         = shepherd_notify,
        .block          = shepherd_block,
        .unblock        = shepherd_unblock,
        .update_node    = shepherd_update_node,
        .get_local_addr = get_local_addr,
};

Can you explain in which cases each of this function executed?
Thanks

-- 
Vasiliy Tolstov,
e-mail: v.tolstov at selfip.ru
jabber: vase at selfip.ru



More information about the sheepdog mailing list