diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-15 14:44:22 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2022-03-15 14:44:22 +0200 |
commit | 73fee39ea62037780c59161507e89dd76c10b7a3 (patch) | |
tree | 072bc0e46bafc59b0ae8c3a7082684aa2568a451 /sql/sql_table.cc | |
parent | 00896db1c513ca8d71cbe0e8b56b699b43df1467 (diff) | |
download | mariadb-git-73fee39ea62037780c59161507e89dd76c10b7a3.tar.gz |
MDEV-27985 buf_flush_freed_pages() causes InnoDB to hang
buf_flush_freed_pages(): Assert that neither buf_pool.mutex
nor buf_pool.flush_list_mutex are held. Simplify the loops.
Return the tablespace and the number of pages written or punched.
buf_flush_LRU_list_batch(), buf_do_flush_list_batch():
Release buf_pool.mutex before invoking buf_flush_space().
buf_flush_list_space(): Acquire the mutexes only after invoking
buf_flush_freed_pages().
Reviewed by: Thirunarayanan Balathandayuthapani
Diffstat (limited to 'sql/sql_table.cc')
0 files changed, 0 insertions, 0 deletions