Lines Matching refs:target
110 u8 target);
1302 * on error, the caller should assume the target node is "dead"
2541 struct dlm_lock_resource *res, u8 target)
2559 target);
2583 namelen, target, dlm->node_num);
2604 if (dlm_mark_lockres_migrating(dlm, res, target) < 0) {
2606 "the target went down.\n", res->lockname.len,
2607 res->lockname.name, target);
2635 * at this point, we have a migration target, an mle
2646 * this serves as notice to the target node that a
2648 ret = dlm_send_one_lockres(dlm, res, mres, target,
2653 target, ret);
2663 dlm_wait_for_node_death(dlm, target,
2668 /* at this point, the target sends a message to all nodes,
2671 * node now waits for target to do an assert master. this node
2673 * is complete everywhere. if the target dies while this is
2674 * going on, some nodes could potentially see the target as the
2687 res->owner == target)
2694 if (dlm_is_node_dead(dlm, target)) {
2696 "target %u is no longer up, restarting\n",
2698 res->lockname.name, target);
2717 dlm_set_lockres_owner(dlm, res, target);
2746 name, target, ret);
2765 u8 target = O2NM_MAX_NODES;
2771 target = dlm_pick_migration_target(dlm, res);
2774 if (target == O2NM_MAX_NODES)
2780 ret = dlm_migrate_lockres(dlm, res, target);
2784 target, ret);
2810 /* target has died, so make the caller break out of the
2832 u8 target)
2838 target);
2868 dlm_migration_can_proceed(dlm, res, target),
2873 test_bit(target, dlm->domain_map) ? "no":"yes");
2877 test_bit(target, dlm->domain_map) ? "no":"yes");
2879 if (!dlm_migration_can_proceed(dlm, res, target)) {
2885 /* did the target go down or die? */
2887 if (!test_bit(target, dlm->domain_map)) {
2888 mlog(ML_ERROR, "aha. migration target %u just went down\n",
2889 target);
2895 * if target is down, we need to clear DLM_LOCK_RES_BLOCK_DIRTY for
2911 * o the DLM_LOCK_RES_MIGRATING flag is set if target not down
2973 * potential target based first on the locks and then on refmap. It skips
3378 mlog(ML_NOTICE, "%s: target %u died during "