aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dlm/midcomms.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-11-17 17:11:46 -0500
committerDavid Teigland <teigland@redhat.com>2022-11-21 09:45:49 -0600
commit8b0188b0d60b6f6183b48380bac49fe080c5ded9 (patch)
tree5bee3dbb2b73b03bb5e4f44828dc55b2d25c3c09 /fs/dlm/midcomms.h
parent17827754e503d6c72b05a1c4603469ec9bf35d48 (diff)
downloadlinux-8b0188b0d60b6f6183b48380bac49fe080c5ded9.tar.gz
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>
Diffstat (limited to 'fs/dlm/midcomms.h')
-rw-r--r--fs/dlm/midcomms.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/dlm/midcomms.h b/fs/dlm/midcomms.h
index d6286e80b077aa..69296552d5add6 100644
--- a/fs/dlm/midcomms.h
+++ b/fs/dlm/midcomms.h
@@ -21,6 +21,9 @@ void dlm_midcomms_commit_mhandle(struct dlm_mhandle *mh, const void *name,
int namelen);
int dlm_midcomms_close(int nodeid);
int dlm_midcomms_start(void);
+void dlm_midcomms_stop(void);
+void dlm_midcomms_init(void);
+void dlm_midcomms_exit(void);
void dlm_midcomms_shutdown(void);
void dlm_midcomms_add_member(int nodeid);
void dlm_midcomms_remove_member(int nodeid);