diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-21 09:15:18 +0300 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-04-21 09:15:18 +0300 |
commit | 4730314a70119ae5857edffe2d1bec86960ef22b (patch) | |
tree | 815c1de60cc90c87593eaacc30d77885763b2c1c /CMakeLists.txt | |
parent | 372b0e6355fbb6b7dc490b64da13e784c09aeec8 (diff) | |
download | mariadb-git-4730314a70119ae5857edffe2d1bec86960ef22b.tar.gz |
MDEV-28369 ibuf_bitmap_mutex is an unnecessary contention point
The only purpose of ibuf_bitmap_mutex is to prevent a deadlock between
two concurrent invocations of ibuf_update_free_bits_for_two_pages_low()
on the same pair of bitmap pages, but in opposite order.
The mutex is unnecessarily serializing the execution of the function
even when it is being invoked on totally different tablespaces.
To avoid deadlocks, it suffices to ensure that the two page latches
are being acquired in a deterministic (sorted) order.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions