fs: dlm: memory cache for lowcomms hotpath
authorAlexander Aring <aahringo@redhat.com>
Tue, 30 Nov 2021 19:47:20 +0000 (14:47 -0500)
committerDavid Teigland <teigland@redhat.com>
Tue, 7 Dec 2021 18:42:26 +0000 (12:42 -0600)
commite4dc81ed5a8069b8ae56116058ebbad77ff559ec
treead2ceb088783ae41b0d8977222c76fc6413354e1
parent3af2326ca0a13cf84aeb75e001e757ff3cefeae9
fs: dlm: memory cache for lowcomms hotpath

This patch introduces a kmem cache for dlm_msg handles which are used
always if dlm sends a message out. Even if their are covered by midcomms
layer or not.

Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
fs/dlm/lowcomms.c
fs/dlm/lowcomms.h
fs/dlm/memory.c
fs/dlm/memory.h