• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/dlm/

Lines Matching refs:lockres

495 	/* This should not happen -- all lockres' have a name
499 mlog(0, "destroying lockres %.*s\n", res->lockname.len,
677 * if not, allocate enough for the lockres and for
708 mlog(0, "get lockres %s (len %d)\n", lockid, namelen);
733 * the lockres to be purged, start over. */
763 mlog(0, "no lockres found, allocated our own: %p\n", res);
774 /* lockres still marked IN_PROGRESS */
814 * the mle or lockres waitqueue here */
831 * but they might own this lockres. wait on them. */
843 * lockres to the hashtable. anyone who finds the lock will
846 /* finally add the lockres to its hash bucket */
848 /* since this lockres is new it doesnt not require the spinlock */
945 mlog(0, "lockres mastered by %u\n", res->owner);
1116 /* set the lockres owner */
1465 // mlog(0, "lockres is in progress...\n");
1476 // "lockres to be mastered\n");
1482 mlog(ML_ERROR, "no owner on lockres, but this "
1506 // "master lockres\n");
1524 * lockres doesn't exist on this node
1558 mlog(ML_ERROR, "no lockres, but an mle with this node as master!\n");
1583 * __dlm_lookup_lockres() grabbed a reference to this lockres.
1592 mlog(ML_ERROR, "bad lockres while trying to assert!\n");
1692 "master MLE but no lockres on %u\n",
1704 "lockres, set the bit in the refmap\n",
1815 * now check to see if there is a lockres */
1902 mlog(0, "finishing off migration of lockres %.*s, "
1978 "mle present here for %s:%.*s, but no lockres!\n",
1983 /* let the master know we have a reference to the lockres */
2029 item->u.am.lockres = res; /* already have a ref */
2059 res = item->u.am.lockres;
2123 * lockres because this lockres is used to kick off recovery! ;-)
2253 mlog(ML_ERROR, "%s:%.*s: bad lockres name\n",
2344 /* Checks whether the lockres can be migrated. Returns 0 if yes, < 0
2345 * if not. If 0, numlocks is set to the number of locks in the lockres.
2361 mlog(0, "cannot migrate lockres with unknown owner!\n");
2366 mlog(0, "cannot migrate lockres this node doesn't own!\n");
2378 "lockres\n", (i == 0 ? "granted" :
2389 mlog(0, "migrateable lockres having %d locks\n", *numlocks);
2423 * ensure this lockres is a proper candidate for migration
2435 mlog(0, "no locks were found on this lockres! done!\n");
2459 * find a node to migrate the lockres to
2502 * if we fail after this we need to re-dirty the lockres
2535 * the lockres
2598 /* avoid hang during shutdown when migrating lockres
2637 /* re-dirty the lockres if we failed */
2683 /* No need to migrate a lockres having no locks */
2691 /* Wheee! Migrate lockres here! Will sleep so drop spinlock. */
2699 mlog(ML_ERROR, "lockres %.*s still has local locks!\n",
2704 mlog(0, "lockres %.*s: migrate failed, "
2763 /* need to set MIGRATING flag on lockres. this is done by
2764 * ensuring that all asts have been flushed for this lockres. */
2776 * try to dirty the lockres before MIGRATING is set */
2834 * o there are no pending asts on this lockres
2836 * lockres must wait for the MIGRATING flag to clear
2884 "migrating lockres, clearing\n", dlm->name,
2941 /* this is called by the new master once all lockres
2994 * the mastery of the lockres. make sure we have
3013 /* if there is an existing mle for this lockres, we now know who the master is.
3057 "lockres is marked as recovering!");
3131 "lockres=%.*s\n",
3168 * Sets the owner of the lockres, associated to the mle, to UNKNOWN
3175 /* Find the lockres associated to the mle and set its owner to UNK */
3181 /* move lockres onto recovery list */
3284 * master dies. All UNKNOWN lockres' are sent to
3287 * still a master for this lockres, or if he needs to
3303 /* If we find a lockres associated with the mle, we've
3306 * take the lockres lock, meaning that we will have to
3332 /* ownership of the lockres is changing. account for the
3391 * this should be called only after waiting on the lockres
3409 * also, if there is a pending migration on this lockres,
3410 * and this was the last pending ast on the lockres,
3416 * shuffle the lists on this lockres as soon as it is migrated.