summaryrefslogtreecommitdiff
path: root/fs/dlm/memory.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2021-11-30 14:47:18 -0500
committerDavid Teigland <teigland@redhat.com>2021-12-07 12:42:26 -0600
commit6c547f264077ffeb56390f42ed2a07749dd619b2 (patch)
tree3b5c1b9477314281b28b5fc7427cc4e25b110a4b /fs/dlm/memory.h
parentbe3b0400edbf68556cd390125e2c868988616391 (diff)
fs: dlm: memory cache for midcomms hotpath
This patch will introduce a kmem cache for allocating message handles which are needed for midcomms layer to take track of lowcomms messages. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/memory.h')
-rw-r--r--fs/dlm/memory.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/memory.h b/fs/dlm/memory.h
index 4f218ea4b187..c4d46be778a2 100644
--- a/fs/dlm/memory.h
+++ b/fs/dlm/memory.h
@@ -20,6 +20,8 @@ struct dlm_lkb *dlm_allocate_lkb(struct dlm_ls *ls);
void dlm_free_lkb(struct dlm_lkb *l);
char *dlm_allocate_lvb(struct dlm_ls *ls);
void dlm_free_lvb(char *l);
+struct dlm_mhandle *dlm_allocate_mhandle(void);
+void dlm_free_mhandle(struct dlm_mhandle *mhandle);
#endif /* __MEMORY_DOT_H__ */