Lines Matching defs:new_master
90 u8 dead_node, u8 new_master);
134 mlog(0, "%s: changing new_master from %u to %u\n",
135 dlm->name, dlm->reco.new_master, master);
136 dlm->reco.new_master = master;
263 dlm->reco.dead_node, dlm->reco.new_master);
337 ready = (dlm->reco.new_master != O2NM_INVALID_NODE_NUM);
423 dlm->reco.state, dlm->reco.new_master,
454 if (dlm->reco.new_master != O2NM_INVALID_NODE_NUM &&
455 test_bit(dlm->reco.new_master, dlm->recovery_map)) {
457 dlm->reco.new_master, dlm->reco.dead_node);
458 /* unset the new_master, leave dead_node */
493 if (dlm->reco.new_master == dlm->node_num)
496 if (dlm->reco.new_master == O2NM_INVALID_NODE_NUM) {
508 mlog(0, "dlm=%s (%d), new_master=%u, this node=%u, dead_node=%u\n",
509 dlm->name, task_pid_nr(dlm->dlm_reco_thread_task), dlm->reco.new_master,
712 dlm->node_num, dlm->reco.new_master);
885 reco_master != dlm->reco.new_master) {
888 if (dlm->reco.new_master == O2NM_INVALID_NODE_NUM) {
893 dlm->reco.dead_node, dlm->reco.new_master);
898 dlm->reco.new_master, dead_node, reco_master);
913 /* any errors returned will be due to the new_master dying,
1586 * know that the new_master got as far as creating
1589 * the master to the new_master. the old master
1591 * event of a new_master death, so the only possible
1593 * that the master is new_master, or that the master
1599 * recovering. if so, then the new_master died and
1601 * new_master survived and that node will respond to
2076 u8 dead_node, u8 new_master)
2091 /* new_master has our reference from
2093 dlm_change_lockres_owner(dlm, res, new_master);
2116 res->lockname.name, new_master);
2122 res->lockname.name, new_master);
2135 /* new_master has our reference from
2137 dlm_change_lockres_owner(dlm, res, new_master);
2351 if (dlm->reco.new_master == idx) {
2356 * the new_master and dead_node. that recovery
2470 * or b) dlm->reco.new_master gets set to some nodenum
2502 dlm->reco.new_master);
2513 if (dlm->reco.new_master != O2NM_INVALID_NODE_NUM) {
2516 dlm->name, dlm->reco.new_master);
2534 /* set the new_master to this node */
2560 * reco.new_master != O2NM_INVALID_NODE_NUM
2572 dlm->name, dlm->reco.new_master, dlm->reco.dead_node);
2703 dlm->reco.dead_node, dlm->reco.new_master);
2711 dlm->reco.dead_node, dlm->reco.new_master);
2716 if (dlm->reco.new_master != O2NM_INVALID_NODE_NUM) {
2717 if (test_bit(dlm->reco.new_master, dlm->recovery_map)) {
2718 mlog(0, "%s: new_master %u died, changing "
2719 "to %u\n", dlm->name, dlm->reco.new_master,
2722 mlog(0, "%s: new_master %u NOT DEAD, changing "
2723 "to %u\n", dlm->name, dlm->reco.new_master,
2756 dlm->reco.dead_node, dlm->reco.new_master);
2835 fr->dead_node, dlm->reco.dead_node, dlm->reco.new_master);
2839 if (dlm->reco.new_master != fr->node_idx) {
2842 fr->node_idx, dlm->reco.new_master, fr->dead_node);
2885 dlm->name, fr->node_idx, dlm->reco.dead_node, dlm->reco.new_master);