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.
Showing
Please register or sign in to comment