mariadb/storage/innobase/buf
Marko Mäkelä abb678b618 MDEV-19514 fixup: Simplify buf_page_read_complete()
False positives for buf_page_t::ibuf_exist are acceptable,
because it does not hurt to unnecessarily invoke
ibuf_merge_or_delete_for_page().

Invoking buf_page_get_gen() in a read completion function
is a definite no-no, because it could trigger a page flush
or cause the server to run out of buffer pool.

With some MDEV-23855 changes present, the test innodb.purge_secondary
occasionally failed due to the table having been dropped while
ibuf_page_exists() invoked buf_page_get_gen().

Reviewed by: Thirunarayanan Balathandayuthapani
2020-10-15 17:05:55 +03:00
..
buf0buddy.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0buf.cc MDEV-19514 fixup: Simplify buf_page_read_complete() 2020-10-15 17:05:55 +03:00
buf0checksum.cc Merge 10.4 into 10.5 2019-05-23 10:32:21 +03:00
buf0dblwr.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0dump.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0flu.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0lru.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00
buf0rea.cc MDEV-23399: Performance regression with write workloads 2020-10-15 17:04:56 +03:00