mariadb/storage/innobase/buf
Marko Mäkelä 10901d7502 MDEV-36190: Optimize transaction_lock_guard use
buf_pool_t::page_guess(): Avoid a memory transaction, because
we would be checking several conditions inside it. Synchronize
with buf_page_t::init() in order to avoid false guesses.

buf_page_t::init(): Release-store the state after storing id_,
in order to properly synchronize-with buf_pool_t::page_guess().

buf_pool_t::page_hash_table::append(): Define non-inline.

buf_pool_t::page_hash_table::replace(),
buf_pool_t::page_hash_table::remove(): Move the inline definition
to the compilation unit of the only caller, to declutter the header.

buf_page_create_low(), buf_page_init_for_read(): Do not initialize
the block descriptor before holding a latch on buf_pool.page_hash,
in order to avoid false positive matches in buf_pool_t::page_guess().

trx_undo_report_row_operation(): Check the cheaper and less likely
condition first.

Also, remove several redundant TRANSACTIONAL_TARGET.
Some of the remaining ones will be made redundant by
commit 9c8bdc6c15 (MDEV-35049).
2025-09-23 16:17:58 +03:00
..
buf0buddy.cc Merge 10.11 into 11.4 2025-05-13 13:44:58 +03:00
buf0buf.cc MDEV-36190: Optimize transaction_lock_guard use 2025-09-23 16:17:58 +03:00
buf0checksum.cc Cleanup: Replace ut_crc32c(x,y) with my_crc32c(0,x,y) 2022-01-21 16:13:04 +02:00
buf0dblwr.cc Merge branch '10.11' into 11.4 2025-04-26 10:53:02 +02:00
buf0dump.cc Merge 10.11 into 11.4 2025-03-28 13:55:21 +02:00
buf0flu.cc Merge branch '10.11' into 11.4 2025-07-28 19:40:10 +02:00
buf0lru.cc MDEV-36190: Optimize transaction_lock_guard use 2025-09-23 16:17:58 +03:00
buf0rea.cc MDEV-36190: Optimize transaction_lock_guard use 2025-09-23 16:17:58 +03:00