Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
0448c614
Commit
0448c614
authored
Feb 12, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-16264: Remove unused page_cleaner_t::is_started
parent
2a6fa1c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
storage/innobase/buf/buf0flu.cc
storage/innobase/buf/buf0flu.cc
+0
-4
No files found.
storage/innobase/buf/buf0flu.cc
View file @
0448c614
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment