Lines Matching refs:from
527 * more refcounts exist, so the rsb is moved from the keep list to the
566 * flags & R_RECEIVE_RECOVER is from dlm_recover_master_copy, so
576 * from our toss list. (They sent a request instead of lookup
577 * because they are using an rsb from their toss list.)
718 /* During recovery, other nodes can send us new MSTCPY locks (from
884 * called from receive_lookup(); master lookups when the local node is
924 log_error(ls, "dlm_master_lookup from our_nodeid %d flags %x",
934 log_error(ls, "dlm_master_lookup from %d dir %d our %d h %x %d",
1028 log_limit(ls, "dlm_master_lookup from master %d flags %x "
1153 /* All work is done after the return from kref_put() so we
1164 /* Attaching/detaching lkb's from rsb's is for rsb reference counting.
1236 /* All work is done after the return from kref_put() so we
1447 /* add/remove lkb from global waiters list of lkb's waiting for
1448 a reply from a remote node */
1727 * so there is a very small gap between removing them from the toss
1729 * important to keep us (the master node) from being out of sync
1732 * From the time the rsb is removed from toss until just after
2050 remove_lock -- used for unlock, removes lkb from granted
2051 revert_lock -- used for cancel, moves lkb from convert to granted
2053 moves lkb from convert or waiting to granted
2063 /* this unhold undoes the original ref from create_lkb()
2099 /* this unhold undoes the original ref from create_lkb()
2224 * convert queue from being granted, then deadlk/demote lkb.
2234 * demote the granted mode of lkb (from PR to NL) if it has the CONVDEADLK
2241 * granted queue preventing lkb1 from being granted immediately, i.e.
2242 * lkb2 was the only thing preventing lkb1 from being granted.
2252 * mode that would prevent lkb1's conversion from being granted, we do a
2295 * References are from chapter 6 of "VAXcluster Principles" by Roy Davis
3056 /* an overlapping op shouldn't blow away exflags from other op */
3074 * from the central locking logic.
3232 /* set_master: sets lkb nodeid from r */
3274 /* remove an existing lkb from the granted queue */
3293 /* remove an existing lkb from the convert or wait queue */
3592 the return value from this function useful at some point */
3617 /* m_result and m_bastmode are set from function args,
3618 not from lkb fields */
3684 /* down conversions go without a reply from the master */
3863 /* which args we save from a received message depends heavily on the type
3978 int from = ms->m_header.h_nodeid;
3993 if (!is_master_copy(lkb) || lkb->lkb_nodeid != from)
4002 if (!is_process_copy(lkb) || lkb->lkb_nodeid != from)
4009 else if (lkb->lkb_nodeid != -1 && lkb->lkb_nodeid != from)
4020 "ignore invalid message %d from %d %x %x %x %d",
4021 ms->m_type, from, lkb->lkb_id, lkb->lkb_remid,
4149 and do this receive_request again from process_lookup_list once
4164 log_limit(ls, "receive_request %x from %d %d",
4411 log_error(ls, "receive_remove from %d bad len %d",
4418 log_error(ls, "receive_remove from %d bad nodeid %d",
4429 recreate the master rsb when it gets a request from the dir node for
4446 log_error(ls, "receive_remove from %d not found %s",
4453 log_error(ls, "receive_remove keep from %d master %d",
4460 log_debug(ls, "receive_remove from %d master %d first %x %s",
4468 log_error(ls, "receive_remove toss from %d master %d",
4480 log_error(ls, "receive_remove from %d rsb ref error",
4528 /* this is the value returned from do_request() on the master */
4559 log_limit(ls, "receive_request_reply %x from %d %d "
4615 /* this is the value returned from do_convert() on the master */
4710 /* this is the value returned from do_unlock() on the master */
4760 /* this is the value returned from do_cancel() on the master */
4819 /* We sometimes receive a request from the dir node for this
4821 The request from the dir node implies we're the master, so we set
4827 log_error(ls, "receive_lookup_reply %x from %d ret %d "
4841 log_error(ls, "receive_lookup_reply %x from %d bad ret_nodeid",
4847 /* set_master() will set lkb_nodeid from r */
4877 log_limit(ls, "receive %d from non-member %d %x %x %d",
4904 /* messages sent from a master node (replies to above) */
4922 /* messages sent from a master node (only two types of async msg) */
4944 /* messages sent from a dir node (remove has no reply) */
4985 log_error(ls, "receive %d inval from %d lkid %x remid %x "
4996 after recovery completes when we transition from saving all messages on
5005 other nodes may still be sending us messages from the
5008 log_limit(ls, "receive %d from %d ignore old gen",
5050 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid);
5055 log_print("invalid h_nodeid %d from %d lockspace %x",
5064 "%u from %d cmd %d type %d\n",
5108 conversions are async; there's no reply from the remote master */
5126 /* Recovery for locks that are waiting for replies from nodes that are now
5127 gone. We can just complete unlocks and cancels by faking a reply from the
5260 /* Deal with lookups and lkb's marked RESEND from _pre. We may now be the
5267 operations. But, new ops may be coming in on the rsbs/locks here from
5512 * from departed nodes have been purged (or not rebuilt), allowing
5775 /* an ack for dlm_recover_locks() which waits for replies from
5963 * The lkb reference from the ls_orphans list was not
6006 /* from validate_unlock_args() */
6052 /* from validate_unlock_args() */
6101 /* from validate_unlock_args() */
6111 /* lkb's that are removed from the waiters list by revert are just left on the
6248 dlm_put_lkb(lkb); /* ref from proc->locks list */