diff options
author | Alexander Aring <aahringo@redhat.com> | 2022-11-17 17:11:45 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2022-11-21 09:45:49 -0600 |
commit | 17827754e503d6c72b05a1c4603469ec9bf35d48 (patch) | |
tree | f61973b4a8662a67719dc912749348afb9f9dff7 /fs/dlm/midcomms.h | |
parent | 81889255c2e6ed1eef448375b5d6330a2f1453de (diff) | |
download | linux-stable-17827754e503d6c72b05a1c4603469ec9bf35d48.tar.gz linux-stable-17827754e503d6c72b05a1c4603469ec9bf35d48.tar.bz2 linux-stable-17827754e503d6c72b05a1c4603469ec9bf35d48.zip |
fs: dlm: add dst nodeid for msg tracing
In DLM when we send a dlm message it is easy to add the lock resource
name, but additional lookup is required when to trace the receive
message side. The idea here is to move the lookup work to the user by
using a lookup to find the right send message with recv message. As note
DLM can't drop any message which is guaranteed by a special session
layer.
For doing the lookup a 3 tupel is required as an unique identification
which is dst nodeid, src nodeid and sequence number. This patch adds the
destination nodeid to the dlm message trace points. The source nodeid is
given by the h_nodeid field inside the header.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'fs/dlm/midcomms.h')
0 files changed, 0 insertions, 0 deletions