dlm: add node slots and generation
authorDavid Teigland <teigland@redhat.com>
Thu, 20 Oct 2011 18:26:28 +0000 (13:26 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 4 Jan 2012 14:55:57 +0000 (08:55 -0600)
commit757a42719635495779462514458bbfbf12a37dac
treebe6ea155fc54c397cb57eb193b81824b37989e56
parentf95a34c66554235b70a681fcd9feebc195f7ec0e
dlm: add node slots and generation

Slot numbers are assigned to nodes when they join the lockspace.
The slot number chosen is the minimum unused value starting at 1.
Once a node is assigned a slot, that slot number will not change
while the node remains a lockspace member.  If the node leaves
and rejoins it can be assigned a new slot number.

A new generation number is also added to a lockspace.  It is
set and incremented during each recovery along with the slot
collection/assignment.

The slot numbers will be passed to gfs2 which will use them as
journal id's.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dlm_internal.h
fs/dlm/lockspace.c
fs/dlm/member.c
fs/dlm/member.h
fs/dlm/rcom.c
fs/dlm/rcom.h
fs/dlm/recover.c
This page took 0.032519 seconds and 5 git commands to generate.