aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2023-05-29 17:44:39 -0400
committerDavid Teigland <teigland@redhat.com>2023-06-14 10:17:33 -0500
commitd00725cab226491fc347d9bc42b881a0a35419cf (patch)
tree36e4a76d11a180271633a9cbef6d20a2a87b1424 /tools/perf/scripts/python/exported-sql-viewer.py
parent75a7d60134ce84209f2c61ec4619ee543aa8f466 (diff)
fs: dlm: handle sequence numbers as atomic
Currently seq_next is only be read on the receive side which processed in an ordered way. The seq_send is being protected by locks. To being able to read the seq_next value on send side as well we convert it to an atomic_t value. The atomic_cmpxchg() is probably not necessary, however the atomic_inc() depends on a if coniditional and this should be handled in an atomic context. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions