]> git.baikalelectronics.ru Git - kernel.git/commit
fs: dlm: add midcomms debugfs functionality
authorAlexander Aring <aahringo@redhat.com>
Fri, 21 May 2021 19:08:47 +0000 (15:08 -0400)
committerDavid Teigland <teigland@redhat.com>
Tue, 25 May 2021 14:22:20 +0000 (09:22 -0500)
commite5b86872091bb2a210433b770765d6e1eb51d2bc
tree5761fdb1a0c6526fb675e392cb0f0e0e8c015136
parent85006c531b3ae3c982f982fd424237b782c316c5
fs: dlm: add midcomms debugfs functionality

This patch adds functionality to debug midcomms per connection state
inside a comms directory which is similar like dlm configfs. Currently
there exists the possibility to read out two attributes which is the
send queue counter and the version of each midcomms node state.

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