Commit 0448c614 authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-16264: Remove unused page_cleaner_t::is_started

parent 2a6fa1c4
......@@ -161,8 +161,6 @@ struct page_cleaner_t {
page_cleaner_slot_t slots. */
os_event_t is_finished; /*!< event to signal that all
slots were finished. */
os_event_t is_started; /*!< event to signal that
thread is started/exiting */
volatile ulint n_workers; /*!< number of worker threads
in existence */
bool requested; /*!< true if requested pages
......@@ -2807,7 +2805,6 @@ buf_flush_page_cleaner_init(void)
mutex_create(LATCH_ID_PAGE_CLEANER, &page_cleaner.mutex);
page_cleaner.is_finished = os_event_create("pc_is_finished");
page_cleaner.is_started = os_event_create("pc_is_started");
page_cleaner.n_slots = static_cast<ulint>(srv_buf_pool_instances);
ut_d(page_cleaner.n_disabled_debug = 0);
......@@ -3468,7 +3465,6 @@ DECLARE_THREAD(buf_flush_page_cleaner_coordinator)(void*)
mutex_destroy(&page_cleaner.mutex);
os_event_destroy(page_cleaner.is_finished);
os_event_destroy(page_cleaner.is_started);
buf_page_cleaner_is_active = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment