Skip to content
Commit cf921cc1 authored by Goldwyn Rodrigues's avatar Goldwyn Rodrigues
Browse files

Add node recovery callbacks



DLM offers callbacks when a node fails and the lock remastery
is performed:

1. recover_prep: called when DLM discovers a node is down
2. recover_slot: called when DLM identifies the node and recovery
		can start
3. recover_done: called when all nodes have completed recover_slot

recover_slot() and recover_done() are also called when the node joins
initially in order to inform the node with its slot number. These slot
numbers start from one, so we deduct one to make it start with zero
which the cluster-md code uses.

Signed-off-by: default avatarGoldwyn Rodrigues <rgoldwyn@suse.com>
parent ca8895d9
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment