]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
dlm: keep cached master rsbs during recovery
authorDavid Teigland <teigland@redhat.com>
Wed, 16 Jan 2008 19:02:31 +0000 (13:02 -0600)
committerDavid Teigland <teigland@redhat.com>
Wed, 30 Jan 2008 17:04:43 +0000 (11:04 -0600)
commit85f0379aa0f9366bb6918e2e898a915231176fbd
tree359544ba2ad34c1e49d4e6333b7c36cf8c7685f5
parent594199ebaae5d77f025974dfcfa6651cc81325a8
dlm: keep cached master rsbs during recovery

To prevent the master of an rsb from changing rapidly, an unused rsb is kept
on the "toss list" for a period of time to be reused.  The toss list was
being cleared completely for each recovery, which is unnecessary.  Much of
the benefit of the toss list can be maintained if nodes keep rsb's in their
toss list that they are the master of.  These rsb's need to be included
when the resource directory is rebuilt during recovery.

Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c
fs/dlm/lock.c
fs/dlm/lock.h
fs/dlm/recover.c
fs/dlm/recoverd.c