dlm: use a new list for recovery of master rsb names
authorAlexander Aring <aahringo@redhat.com>
Tue, 2 Apr 2024 19:18:00 +0000 (15:18 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Apr 2024 16:44:49 +0000 (11:44 -0500)
commitaff46e0f24cd3adc54ec83f4cf834ff9ccb69307
tree918487c6ff1b918de6ab440d13afb2500126830f
parent29e345f3c68e2bcf094162fc36394d348ccfb9ff
dlm: use a new list for recovery of master rsb names

Add a new "masters_list" for master rsb structs, with a new
rwlock. The new list is created and used during the recovery
process to send the master rsb names to new nodes. With this
change, the current "root_list" can be used without locking.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/dir.c
fs/dlm/dlm_internal.h
fs/dlm/lock.c
fs/dlm/lockspace.c
fs/dlm/recoverd.c