diff options
author | Alexander Aring <aahringo@redhat.com> | 2023-03-06 23:48:16 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2023-03-07 00:49:07 +0300 |
commit | e1af8728f600f648be1f552552e834c170a0244c (patch) | |
tree | 9f0890c486d91392832c8899912d003ed7396f86 /usr | |
parent | 8a39dcd9c32dd3f0d3af745c72834d58a43ed90a (diff) | |
download | linux-e1af8728f600f648be1f552552e834c170a0244c.tar.xz |
fs: dlm: move internal flags to atomic ops
This patch will move the lkb_flags value to the recently introduced
lkb_iflags value. For lkb_iflags we use atomic bit operations because
some flags like DLM_IFL_CB_PENDING are used while non rsb lock is held
to avoid issues with other flag manipulations which might run at the
same time we switch to atomic bit operations. Snapshot the bit values to
an uint32_t value is only used for debugging/logging use cases and don't
need to be 100% correct.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions