dlm: add recovery callbacks
authorDavid Teigland <teigland@redhat.com>
Wed, 2 Nov 2011 19:30:58 +0000 (14:30 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 4 Jan 2012 14:56:31 +0000 (08:56 -0600)
commit60f98d1839376d30e13f3e452dce2433fad3060e
treeb8b43859ad26519bd75a40920f6d1ca46f2d44a5
parent757a42719635495779462514458bbfbf12a37dac
dlm: add recovery callbacks

These new callbacks notify the dlm user about lock recovery.
GFS2, and possibly others, need to be aware of when the dlm
will be doing lock recovery for a failed lockspace member.

In the past, this coordination has been done between dlm and
file system daemons in userspace, which then direct their
kernel counterparts.  These callbacks allow the same
coordination directly, and more simply.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/config.c
fs/dlm/config.h
fs/dlm/dlm_internal.h
fs/dlm/lockspace.c
fs/dlm/member.c
fs/dlm/member.h
fs/dlm/recoverd.c
fs/dlm/user.c
fs/gfs2/lock_dlm.c
fs/ocfs2/stack_user.c
include/linux/dlm.h