summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2020-10-01 01:37:29 +0300
committerDavid Teigland <teigland@redhat.com>2020-10-01 17:25:07 +0300
commit4f2b30fd9b4bd6e3620fe55786df7fc5f89ad526 (patch)
tree92d117a19bef10927e8b4a36bce9c237538c38f6 /tools/perf/scripts/python/export-to-postgresql.py
parent4798cbbfbd00c498339bdcf4cc2429f53eb374ec (diff)
downloadlinux-4f2b30fd9b4bd6e3620fe55786df7fc5f89ad526.tar.xz
fs: dlm: fix race in nodeid2con
This patch fixes a race in nodeid2con in cases that we parallel running a lookup and both will create a connection structure for the same nodeid. It's a rare case to create a new connection structure to keep reader lockless we just do a lookup inside the protection area again and drop previous work if this race happens. Fixes: a47666eb763cc ("fs: dlm: make connection hash lockless") Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions