Lines Matching refs:from
522 * more refcounts exist, so the rsb is moved from the keep list to the
561 * flags & R_RECEIVE_RECOVER is from dlm_recover_master_copy, so
571 * from our toss list. (They sent a request instead of lookup
572 * because they are using an rsb from their toss list.)
712 /* During recovery, other nodes can send us new MSTCPY locks (from
947 log_limit(ls, "%s from master %d flags %x first %x %s",
961 * called from receive_lookup(); master lookups when the local node is
999 log_error(ls, "dlm_master_lookup from our_nodeid %d flags %x",
1009 log_error(ls, "dlm_master_lookup from %d dir %d our %d h %x %d",
1162 /* All work is done after the return from kref_put() so we
1173 /* Attaching/detaching lkb's from rsb's is for rsb reference counting.
1252 /* All work is done after the return from kref_put() so we
1403 /* add/remove lkb from global waiters list of lkb's waiting for
1404 a reply from a remote node */
1651 * so there is a very small gap between removing them from the toss
1653 * important to keep us (the master node) from being out of sync
1824 remove_lock -- used for unlock, removes lkb from granted
1825 revert_lock -- used for cancel, moves lkb from convert to granted
1827 moves lkb from convert or waiting to granted
1837 /* this unhold undoes the original ref from create_lkb()
1873 /* this unhold undoes the original ref from create_lkb()
1998 * convert queue from being granted, then deadlk/demote lkb.
2008 * demote the granted mode of lkb (from PR to NL) if it has the CONVDEADLK
2015 * granted queue preventing lkb1 from being granted immediately, i.e.
2016 * lkb2 was the only thing preventing lkb1 from being granted.
2026 * mode that would prevent lkb1's conversion from being granted, we do a
2069 * References are from chapter 6 of "VAXcluster Principles" by Roy Davis
2834 /* an overlapping op shouldn't blow away exflags from other op */
2866 * from the central locking logic.
3022 /* set_master: sets lkb nodeid from r */
3064 /* remove an existing lkb from the granted queue */
3083 /* remove an existing lkb from the convert or wait queue */
3391 the return value from this function useful at some point */
3416 /* m_result and m_bastmode are set from function args,
3417 not from lkb fields */
3483 /* down conversions go without a reply from the master */
3667 /* which args we save from a received message depends heavily on the type
3783 int from = le32_to_cpu(ms->m_header.h_nodeid);
3799 if (!is_master_copy(lkb) || lkb->lkb_nodeid != from)
3808 if (!is_process_copy(lkb) || lkb->lkb_nodeid != from)
3815 else if (lkb->lkb_nodeid != -1 && lkb->lkb_nodeid != from)
3826 "ignore invalid message %d from %d %x %x %x %d",
3827 le32_to_cpu(ms->m_type), from, lkb->lkb_id,
3897 and do this receive_request again from process_lookup_list once
3903 log_limit(ls, "receive_request %x from %d %d",
4147 log_error(ls, "receive_remove from %d bad len %d",
4154 log_error(ls, "receive_remove from %d bad nodeid %d",
4165 recreate the master rsb when it gets a request from the dir node for
4182 log_error(ls, "receive_remove from %d not found %s",
4189 log_error(ls, "receive_remove keep from %d master %d",
4196 log_debug(ls, "receive_remove from %d master %d first %x %s",
4204 log_error(ls, "receive_remove toss from %d master %d",
4216 log_error(ls, "receive_remove from %d rsb ref error",
4266 /* this is the value returned from do_request() on the master */
4296 log_limit(ls, "receive_request_reply %x from %d %d "
4353 /* this is the value returned from do_convert() on the master */
4451 /* this is the value returned from do_unlock() on the master */
4503 /* this is the value returned from do_cancel() on the master */
4566 /* We sometimes receive a request from the dir node for this
4568 The request from the dir node implies we're the master, so we set
4574 log_error(ls, "receive_lookup_reply %x from %d ret %d "
4588 log_error(ls, "receive_lookup_reply %x from %d bad ret_nodeid",
4594 /* set_master() will set lkb_nodeid from r */
4624 log_limit(ls, "receive %d from non-member %d %x %x %d",
4653 /* messages sent from a master node (replies to above) */
4671 /* messages sent from a master node (only two types of async msg) */
4693 /* messages sent from a dir node (remove has no reply) */
4737 log_error(ls, "receive %d inval from %d lkid %x remid %x "
4750 after recovery completes when we transition from saving all messages on
4759 other nodes may still be sending us messages from the
4762 log_limit(ls, "receive %d from %d ignore old gen",
4802 log_print("invalid h_cmd %d from %u", hd->h_cmd, nodeid);
4807 log_print("invalid h_nodeid %d from %d lockspace %x",
4817 "%u from %d cmd %d type %d\n",
4836 log_error(ls, "invalid h_cmd %d from %d lockspace %x",
4864 conversions are async; there's no reply from the remote master */
4882 /* Recovery for locks that are waiting for replies from nodes that are now
4883 gone. We can just complete unlocks and cancels by faking a reply from the
5014 /* Deal with lookups and lkb's marked RESEND from _pre. We may now be the
5021 operations. But, new ops may be coming in on the rsbs/locks here from
5265 * from departed nodes have been purged (or not rebuilt), allowing
5536 /* an ack for dlm_recover_locks() which waits for replies from
5730 * The lkb reference from the ls_orphans list was not
5775 /* from validate_unlock_args() */
5824 /* from validate_unlock_args() */
5876 /* from validate_unlock_args() */
5887 /* lkb's that are removed from the waiters list by revert are just left on the
6022 dlm_put_lkb(lkb); /* ref from proc->locks list */