32 #ifndef UNIV_HOTBACKUP
85 ib_uint64_t newest_lsn);
87 #ifndef UNIV_HOTBACKUP
88 # if defined UNIV_DEBUG || defined UNIV_IBUF_DEBUG
101 __attribute__((nonnull, warn_unused_result));
131 ib_uint64_t lsn_limit);
173 ib_uint64_t start_lsn,
175 ib_uint64_t end_lsn);
210 buf_flush_stat_update(
void);
222 buf_flush_get_desired_flush_rate(
void);
225 #if defined UNIV_DEBUG || defined UNIV_BUF_DEBUG
256 #define BUF_FLUSH_FREE_BLOCK_MARGIN(b) (5 + BUF_READ_AHEAD_AREA(b))
258 #define BUF_FLUSH_EXTRA_MARGIN(b) ((BUF_FLUSH_FREE_BLOCK_MARGIN(b) / 4 \
259 + 100) / srv_buf_pool_instances)
263 #include "buf0flu.ic"
UNIV_INTERN void buf_flush_remove(buf_page_t *bpage)
UNIV_INTERN void buf_flush_init_flush_rbt(void)
UNIV_INTERN void buf_flush_free_flush_rbt(void)
UNIV_INLINE void buf_flush_recv_note_modification(buf_block_t *block, ib_uint64_t start_lsn, ib_uint64_t end_lsn)
UNIV_INTERN ibool buf_flush_ready_for_replace(buf_page_t *bpage)
UNIV_INTERN void buf_flush_write_complete(buf_page_t *bpage)
UNIV_INTERN void buf_flush_free_margin(buf_pool_t *buf_pool)
UNIV_INTERN void buf_flush_init_for_writing(byte *page, void *page_zip_, ib_uint64_t newest_lsn)
The buffer pool structure.
UNIV_INTERN void buf_flush_free_margins(void)
UNIV_INTERN ulint buf_flush_list(ulint min_n, ib_uint64_t lsn_limit)
UNIV_INTERN void buf_flush_wait_batch_end_wait_only(buf_pool_t *buf_pool, enum buf_flush type)
UNIV_INLINE void buf_flush_note_modification(buf_block_t *block, mtr_t *mtr)
UNIV_INTERN void buf_flush_wait_batch_end(buf_pool_t *buf_pool, enum buf_flush type)
Statistics for selecting flush rate based on redo log generation speed.
UNIV_INTERN ulint buf_flush_LRU(buf_pool_t *buf_pool, ulint min_n)
UNIV_INTERN void buf_flush_relocate_on_flush_list(buf_page_t *bpage, buf_page_t *dpage)