diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-11-30 14:47:19 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-12-07 12:42:26 -0600 |
commit | 3af2326ca0a13cf84aeb75e001e757ff3cefeae9 (patch) | |
tree | daae6f31a675c8d8296ff4dc319fb2d1fd7bd66d /fs/dlm/memory.h | |
parent | 6c547f264077ffeb56390f42ed2a07749dd619b2 (diff) | |
download | lwn-3af2326ca0a13cf84aeb75e001e757ff3cefeae9.tar.gz lwn-3af2326ca0a13cf84aeb75e001e757ff3cefeae9.zip |
fs: dlm: memory cache for writequeue_entry
This patch introduces a kmem cache for writequeue entry. A writequeue
entry get quite a lot allocated if dlm transmit 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.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/dlm/memory.h b/fs/dlm/memory.h index c4d46be778a2..854269eacd44 100644 --- a/fs/dlm/memory.h +++ b/fs/dlm/memory.h @@ -22,6 +22,8 @@ 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); +struct writequeue_entry *dlm_allocate_writequeue(void); +void dlm_free_writequeue(struct writequeue_entry *writequeue); #endif /* __MEMORY_DOT_H__ */ |