Lines Matching refs:lvb
1187 /* Ignore lvb in all locks in the blocked list */
1195 if (dlm_lvb_is_empty(mres->lvb)) {
1196 memcpy(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN);
1200 /* Ensure the lvb copied for migration matches in other valid locks */
1201 if (!memcmp(mres->lvb, lock->lksb->lvb, DLM_LVB_LEN))
1204 mlog(ML_ERROR, "Mismatched lvb in lock cookie=%u:%llu, name=%.*s, "
1783 * This holds true for the convert, cancel and unlock cases, and since lvb
1784 * updates are tied to these same messages, it applies to lvb updates as
1937 * If the lock is in the blocked list it can't have a valid lvb,
1943 if (!dlm_lvb_is_empty(mres->lvb)) {
1946 * lvb when node died. recreate the
1947 * lksb with the updated lvb. */
1948 memcpy(lksb->lvb, mres->lvb, DLM_LVB_LEN);
1949 /* the lock resource lvb update must happen
1952 * the lvb. */
1953 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
1956 * most recent valid lvb info */
1959 if (!dlm_lvb_is_empty(res->lvb) &&
1961 memcmp(res->lvb, mres->lvb, DLM_LVB_LEN))) {
1964 "lvb! type=%d\n", dlm->name,
1967 printk("lockres lvb=[");
1969 printk("%02x", res->lvb[i]);
1970 printk("]\nmigrated lvb=[");
1972 printk("%02x", mres->lvb[i]);
1977 memcpy(res->lvb, mres->lvb, DLM_LVB_LEN);
2232 * had an EX when he died, blank out the lvb */
2236 * locks granted, we can no longer trust the lvb */
2238 local = 1; /* check local state for valid lvb */
2246 /* zero the lksb lvb and lockres lvb */
2248 memset(lock->lksb->lvb, 0, DLM_LVB_LEN);
2255 mlog(0, "clearing %.*s lvb, dead node %u had EX\n",
2257 memset(res->lvb, 0, DLM_LVB_LEN);
2269 * 2) if the dead node had an EX when he died, blank out the lvb
2393 /* zero the lvb if necessary */