summaryrefslogtreecommitdiffstats
path: root/fs/gfs2/lock_dlm.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2011-10-20 13:26:28 -0500
committerDavid Teigland <teigland@redhat.com>2012-01-04 08:55:57 -0600
commit757a42719635495779462514458bbfbf12a37dac (patch)
treebe6ea155fc54c397cb57eb193b81824b37989e56 /fs/gfs2/lock_dlm.c
parentf95a34c66554235b70a681fcd9feebc195f7ec0e (diff)
downloadop-kernel-dev-757a42719635495779462514458bbfbf12a37dac.zip
op-kernel-dev-757a42719635495779462514458bbfbf12a37dac.tar.gz
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>
Diffstat (limited to 'fs/gfs2/lock_dlm.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud