fs: dlm: add midcomms init/start functions
authorAlexander Aring <aahringo@redhat.com>
Thu, 17 Nov 2022 22:11:46 +0000 (17:11 -0500)
committerDavid Teigland <teigland@redhat.com>
Mon, 21 Nov 2022 15:45:49 +0000 (09:45 -0600)
commit8b0188b0d60b6f6183b48380bac49fe080c5ded9
tree5bee3dbb2b73b03bb5e4f44828dc55b2d25c3c09
parent17827754e503d6c72b05a1c4603469ec9bf35d48
fs: dlm: add midcomms init/start functions

This patch introduces leftovers of init, start, stop and exit
functionality. The dlm application layer should always call the midcomms
layer which getting aware of such event and redirect it to the lowcomms
layer. Some functionality which is currently handled inside the start
functionality of midcomms and lowcomms should be handled in the init
functionality as it only need to be initialized once when dlm is loaded.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lockspace.c
fs/dlm/lowcomms.c
fs/dlm/lowcomms.h
fs/dlm/main.c
fs/dlm/midcomms.c
fs/dlm/midcomms.h