GFS2: dlm based recovery coordination
authorDavid Teigland <teigland@redhat.com>
Mon, 9 Jan 2012 22:18:05 +0000 (17:18 -0500)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 11 Jan 2012 09:23:05 +0000 (09:23 +0000)
commite0c2a9aa1e68455dc3439e95d85cabcaff073666
tree22e0dea3972d74defb0219fbbcd5c9d395c0bdb3
parente343a895a9f342f239c5e3c5ffc6c0b1707e6244
GFS2: dlm based recovery coordination

This new method of managing recovery is an alternative to
the previous approach of using the userland gfs_controld.

- use dlm slot numbers to assign journal id's
- use dlm recovery callbacks to initiate journal recovery
- use a dlm lock to determine the first node to mount fs
- use a dlm lock to track journals that need recovery

Signed-off-by: David Teigland <teigland@redhat.com>
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/glock.c
fs/gfs2/glock.h
fs/gfs2/incore.h
fs/gfs2/lock_dlm.c
fs/gfs2/main.c
fs/gfs2/ops_fstype.c
fs/gfs2/recovery.c
fs/gfs2/sys.c
fs/gfs2/sys.h
include/linux/gfs2_ondisk.h