Lines Matching refs:lvb
1178 /* Ignore lvb in all locks in the blocked list */
1186 if (dlm_lvb_is_empty(mres->lvb)) {
1187 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN);
1191 /* Ensure the lvb copied for migration matches in other valid locks */
1192 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN))
1195 mlog(ML_ERROR, "Mismatched lvb in lock cookie=%u:%llu, name=%.*s, "
1774 * This holds true for the convert, cancel and unlock cases, and since lvb
1775 * updates are tied to these same messages, it applies to lvb updates as
1928 * If the lock is in the blocked list it can't have a valid lvb,
1934 if (!dlm_lvb_is_empty(mres->lvb)) {
1937 * lvb when node died. recreate the
1938 * lksb with the updated lvb. */
1939 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN);
1940 /* the lock resource lvb update must happen
1943 * the lvb. */
1944 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
1947 * most recent valid lvb info */
1950 if (!dlm_lvb_is_empty(res->lvb) &&
1952 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) {
1955 "lvb! type=%d\n", dlm->name,
1958 printk("lockres lvb=[");
1960 printk("%02x", res->lvb[i]);
1961 printk("]\nmigrated lvb=[");
1963 printk("%02x", mres->lvb[i]);
1968 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
2223 * had an EX when he died, blank out the lvb */
2227 * locks granted, we can no longer trust the lvb */
2229 local = 1; /* check local state for valid lvb */
2237 /* zero the lksb lvb and lockres lvb */
2239 memset(lock->lksb->lvb, 0, DLM_LVB_LEN);
2246 mlog(0, "clearing %.*s lvb, dead node %u had EX\n",
2248 memset(res->lvb, 0, DLM_LVB_LEN);
2260 * 2) if the dead node had an EX when he died, blank out the lvb
2384 /* zero the lvb if necessary */