diff options
author | Alexander Aring <aahringo@redhat.com> | 2021-07-16 23:22:44 +0300 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2021-07-19 19:56:35 +0300 |
commit | c51b0221798b695ac1beac6597d3a0acf039384b (patch) | |
tree | a6be241c53eb268bedc7de52732d518db60d9417 /tools/perf/scripts/python/stackcollapse.py | |
parent | 8728a455d20ddadecd767337475fc1371e031d79 (diff) | |
download | linux-c51b0221798b695ac1beac6597d3a0acf039384b.tar.xz |
fs: dlm: fix multiple empty writequeue alloc
This patch will add a mutex that a connection can allocate a writequeue
entry buffer only at a sleepable context at one time. If multiple caller
waits at the writequeue spinlock and the spinlock gets release it could
be that multiple new writequeue page buffers were allocated instead of
allocate one writequeue page buffer and other waiters will use remaining
buffer of it. It will only be the case for sleepable context which is
the common case. In non-sleepable contexts like retransmission we just
don't care about such behaviour.
Signed-off-by: Alexander Aring <aahringo@redhat.com>
Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions