diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-11-30 20:47:19 +0100 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-12-07 19:42:26 +0100 |
commit | 3af2326ca0a13cf84aeb75e001e757ff3cefeae9 (patch) | |
tree | daae6f31a675c8d8296ff4dc319fb2d1fd7bd66d /fs/dlm/lowcomms.h | |
parent | fs: dlm: memory cache for midcomms hotpath (diff) | |
download | linux-3af2326ca0a13cf84aeb75e001e757ff3cefeae9.tar.xz linux-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/lowcomms.h')
-rw-r--r-- | fs/dlm/lowcomms.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/dlm/lowcomms.h b/fs/dlm/lowcomms.h index 8108ea24ec30..6c8f4ce457f0 100644 --- a/fs/dlm/lowcomms.h +++ b/fs/dlm/lowcomms.h @@ -47,6 +47,7 @@ int dlm_lowcomms_connect_node(int nodeid); int dlm_lowcomms_nodes_set_mark(int nodeid, unsigned int mark); int dlm_lowcomms_addr(int nodeid, struct sockaddr_storage *addr, int len); void dlm_midcomms_receive_done(int nodeid); +struct kmem_cache *dlm_lowcomms_writequeue_cache_create(void); #endif /* __LOWCOMMS_DOT_H__ */ |