• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/fs/ocfs2/dlm/

Lines Matching refs:master

75 					u8 flags, u8 master);
132 u8 master)
136 dlm->name, dlm->reco.new_master, master);
137 dlm->reco.new_master = master;
241 * 3) once a new master is chosen, everyone scans all locks
244 * 5) the new master collects up all of secondary lock queue info
248 * 7) once the new master has run all its locks, it sends a ALLDONE!
252 * 9) once the new master gets responses from everyone, he unlocks
263 mlog(ML_NOTICE, "%s(%d): recovery info, state=%s, dead=%u, master=%u\n",
335 /* returns true when the recovery master has contacted us */
407 * recovering a dead node (as the new master or not) and clear
424 "state=%d, master=%u, dead=%u\n",
456 /* check to see if the new master has died */
459 mlog(0, "new master %u died while recovering %u!\n",
500 /* choose a new master, returns 0 if this node
501 * is the master, -EEXIST if it's another node.
502 * this does not return until a new master is chosen
509 mlog(0, "another node will master this recovery session.\n");
558 /* we have become recovery master. there is no escaping
889 mlog(0, "%s: recovery worker started, dead=%u, master=%u\n",
894 /* worker could have been created before the recovery master
898 "recovery master %u died, thread=(dead=%u,mas=%u)"
904 "master=%u), request(dead=%u, master=%u)\n",
1118 orig_master = mres->master;
1167 u8 flags, u8 master)
1177 mres->master = master;
1353 real_master = mres->master;
1355 /* cannot migrate a lockres with no master */
1361 "recovery" : "migration", mres->master);
1438 /* drop this either when master requery finds a different master
1441 if (mres->master == DLM_LOCK_RES_OWNER_UNKNOWN) {
1442 /* migration cannot have an unknown master */
1511 mlog(0, "master needs to respond to sender "
1528 ret = dlm_finish_migration(dlm, res, mres->master);
1552 * at this point we need to requery the master. we
1556 * the master to the new_master. the old master
1560 * that the master is new_master, or that the master
1564 * if any node comes back with a valid master, check
1565 * to see if that master is the one that we are
1590 mlog(0, "lock master is %u\n", *real_master);
1618 mlog(0, "node %u responded to master requery with %u\n",
1636 int master = DLM_LOCK_RES_OWNER_UNKNOWN;
1642 return master;
1651 master = res->owner;
1652 if (master == dlm->node_num) {
1666 return master;
1686 * Before attempting the migrate, the master has marked the lockres as
1692 * flag to be dropped, then recheck the master.
1695 * well. For the lock case, there is no way a lock can be on the master
1700 * updated to match the one sent by the master. Any messages sent back
1701 * from the master before the MIGRATING flag will bring the lock properly
1787 * to match the master here */
1968 * (the master is dead). */
1975 * new master. note that the dlm_unlock
1980 * recovery master. */
1991 * new master */
2007 * sets the res->owner to the new master.
2147 /* this node is the lockres master:
2197 /* if this node is the recovery master, and there are no
2219 * 1) if the dead node was the master, move the lockres
2224 * 2) if this node was the master, remove all locks from
2284 mlog(0, "%s: recovery master %d just died\n",
2290 mlog(0, "%s: dead master %d had reached "
2393 * master will not stop attempting this until either:
2394 * a) this node gets the EX (and becomes the recovery master),
2397 * so each time a recovery master is needed, the entire cluster
2398 * will sync at this point. if the new master dies, that will
2423 * just became the reco master */
2439 mlog(ML_ERROR, "%s: new master is %u "
2448 /* if this node has actually become the recovery master,
2449 * set the master and send the messages to begin recovery */
2484 /* another node is master. wait on
2491 mlog(0, "%s: reco master taking awhile\n",
2495 /* another node has informed this one that it is reco master */
2496 mlog(0, "%s: reco master %u is ready to recover %u\n",
2500 mlog(0, "dlm=%s dlmlock says master node died (this=%u)\n",
2643 /* may not have seen the new master as dead yet */
2654 mlog(0, "recovery master %u sees %u as dead, but this "
2757 "%u is supposed to be the new master, dead=%u\n",
2773 "new master %u for dead node %u, but "
2785 "new master %u for dead node %u, but "
2800 mlog(0, "%s: recovery done, reco master was %u, dead now %u, master now %u\n",