dlm: add new struct to save position in dlm_copy_master_names
authorAlexander Aring <aahringo@redhat.com>
Tue, 2 Apr 2024 19:18:02 +0000 (15:18 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 9 Apr 2024 16:44:49 +0000 (11:44 -0500)
commit3ae67760567438ff857e79bd799154b1f7da3b2a
tree9fbd4209b0121740070377aee2bab8781550ebb4
parent3a747f4a2ee85d51b905e2df940de4a924f8060a
dlm: add new struct to save position in dlm_copy_master_names

Add a new struct to save the current position in the rsb masters_list
while sending the rsb names to other nodes. The rsb names are sent in
multiple chunks, and for each new chunk, the new "dlm_dir_dump" struct
saves the last position in the masters_list. The new struct is also
used to save more information to sanity check the recovery process.

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/lockspace.c
fs/dlm/recoverd.c