diff options
author | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-13 16:46:20 +0200 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2023-01-24 15:23:01 +0200 |
commit | a30d4250c2e15d4a3776a827e40094441629cc72 (patch) | |
tree | 4949b3d0248285e1a179a994be1d566d77d1ff40 /plugin | |
parent | d6aed21621e438e6135415c0c09fc6adfc0be368 (diff) | |
download | mariadb-git-a30d4250c2e15d4a3776a827e40094441629cc72.tar.gz |
MDEV-26790 InnoDB read-ahead may cause page writes
buf_LRU_get_free_block(): Replace the Boolean parameter with a
ternary parameter, so that have_no_mutex_soft can be specified
reduce the chances of initiating page eviction flushing in read-ahead.
buf_read_acquire(): Invoke buf_LRU_get_free_block(have_no_mutex_soft)
and check in each caller for a nullptr return value.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions