mirror of
https://github.com/MariaDB/server.git
synced 2025-08-25 20:01:50 +02:00
![]() buf_read_page(): Return a pointer to a buffer-fixed, non-read-fixed page, or nullptr in case of an error. buf_inc_get(): Wrapper for buf_inc_get(ha_handler_stats*), to read the thread-local variable mariadb_stats before updating it. IORequest::read_complete(): Assert that the page is both read-fixed and buffer-fixed. Sample recv_sys.recovery_on only once. Buffer-unfix the page when the asynchronous read completes. buf_page_t::read_complete(): Assert that the page is both read-fixed and buffer-fixed. buf_page_t::read_wait(): Wait for a read-fixed and buffer-fixed page to be only buffer-fixed, by acquiring a shared latch. buf_page_init_for_read(): Return a pointer to a buffer-fixed block descriptor pointer, bitwise-ORed with 1 in case the block already exists in the buffer pool. buf_read_ahead_update(), buf_read_ahead_update_sql(): Common code for updating some statistics counters. buf_read_page_low(): Replace the parameter sync with err, which will return an error code to a synchronous caller. Add a parameter for thread-local mariadb_stats. Return the pointer to the block, or the special values nullptr (read failure) or -1 or -2 for asynchronous reads. Increment the statistics when a synchronous read was requested. In a synchronous read, if the page has already been allocated in the buffer pool but it is read-fixed, wait for the read to complete. buf_page_get_zip(): Get a buffer-fixed page from buf_read_page(), and unfix() it. Our caller is relying solely on a page latch. buf_read_page_background(): Update the statistics if supplied. |
||
---|---|---|
.. | ||
btr0btr.cc | ||
btr0bulk.cc | ||
btr0cur.cc | ||
btr0pcur.cc | ||
btr0sea.cc |