Lines Matching refs:target

112 				       u8 target);
1304 * on error, the caller should assume the target node is "dead"
2543 struct dlm_lock_resource *res, u8 target)
2561 target);
2585 namelen, target, dlm->node_num);
2606 if (dlm_mark_lockres_migrating(dlm, res, target) < 0) {
2608 "the target went down.\n", res->lockname.len,
2609 res->lockname.name, target);
2637 * at this point, we have a migration target, an mle
2648 * this serves as notice to the target node that a
2650 ret = dlm_send_one_lockres(dlm, res, mres, target,
2655 target, ret);
2665 dlm_wait_for_node_death(dlm, target,
2670 /* at this point, the target sends a message to all nodes,
2673 * node now waits for target to do an assert master. this node
2675 * is complete everywhere. if the target dies while this is
2676 * going on, some nodes could potentially see the target as the
2689 res->owner == target)
2696 if (dlm_is_node_dead(dlm, target)) {
2698 "target %u is no longer up, restarting\n",
2700 res->lockname.name, target);
2719 dlm_set_lockres_owner(dlm, res, target);
2748 name, target, ret);
2767 u8 target = O2NM_MAX_NODES;
2773 target = dlm_pick_migration_target(dlm, res);
2776 if (target == O2NM_MAX_NODES)
2782 ret = dlm_migrate_lockres(dlm, res, target);
2786 target, ret);
2812 /* target has died, so make the caller break out of the
2834 u8 target)
2840 target);
2870 dlm_migration_can_proceed(dlm, res, target),
2875 test_bit(target, dlm->domain_map) ? "no":"yes");
2879 test_bit(target, dlm->domain_map) ? "no":"yes");
2881 if (!dlm_migration_can_proceed(dlm, res, target)) {
2887 /* did the target go down or die? */
2889 if (!test_bit(target, dlm->domain_map)) {
2890 mlog(ML_ERROR, "aha. migration target %u just went down\n",
2891 target);
2897 * if target is down, we need to clear DLM_LOCK_RES_BLOCK_DIRTY for
2913 * o the DLM_LOCK_RES_MIGRATING flag is set if target not down
2975 * potential target based first on the locks and then on refmap. It skips
3380 mlog(ML_NOTICE, "%s: target %u died during "