]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ocfs2: add DLM recovery callbacks
authorGoldwyn Rodrigues <rgoldwyn@suse.de>
Tue, 5 Nov 2013 05:55:09 +0000 (16:55 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Tue, 5 Nov 2013 05:55:09 +0000 (16:55 +1100)
commit0a2054519f737f2aee66b11c39bc4a6e5be58e33
tree31e68ee2d5c96c38c53c554ebfc8de6d3f57dce2
parent9ed2a81e23488116b9a3b97abbbb034cd99274f8
ocfs2: add DLM recovery callbacks

These are the callbacks called by the fs/dlm code in case the membership
changes.  If there is a failure while/during calling any of these, the DLM
creates a new membership and relays to the rest of the nodes.

recover_prep() is called when DLM understands a node is down.
recover_slot() is called once all nodes have acknowledged recover_prep and
recovery can begin.  recover_done() is called once the recovery is
complete.  It returns the new membership.

Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Mark Fasheh <mfasheh@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
fs/ocfs2/stack_user.c