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)
commit5b2f981fde8b0dbf0bfa117bb4322342fcfb7174
tree5761fdb1a0c6526fb675e392cb0f0e0e8c015136
parent489d8e559c6596eb08e16447d9830bc39afbe54e
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