summaryrefslogtreecommitdiff
path: root/fs/dlm/midcomms.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/midcomms.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/midcomms.h')
-rw-r--r--fs/dlm/midcomms.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/midcomms.h b/fs/dlm/midcomms.h
index bc63cf73aa87..82bcd9661922 100644
--- a/fs/dlm/midcomms.h
+++ b/fs/dlm/midcomms.h
@@ -30,6 +30,7 @@ int dlm_midcomms_send_queue_cnt(struct midcomms_node *node);
uint32_t dlm_midcomms_version(struct midcomms_node *node);
int dlm_midcomms_rawmsg_send(struct midcomms_node *node, void *buf,
int buflen);
+struct kmem_cache *dlm_midcomms_cache_create(void);
#endif /* __MIDCOMMS_DOT_H__ */