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
c310f4c3
Commit
c310f4c3
authored
Jan 27, 2021
by
Vladislav Vaintroub
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24685 - remove IO thread states output from SHOW ENGINE INNODB STATUS
There are no IO threads anymore.
parent
95a2bca0
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
60 deletions
+0
-60
storage/innobase/include/srv0srv.h
storage/innobase/include/srv0srv.h
+0
-18
storage/innobase/os/os0file.cc
storage/innobase/os/os0file.cc
+0
-9
storage/innobase/srv/srv0srv.cc
storage/innobase/srv/srv0srv.cc
+0
-33
No files found.
storage/innobase/include/srv0srv.h
View file @
c310f4c3
...
...
@@ -480,11 +480,6 @@ extern ulint srv_dml_needed_delay;
#define SRV_MAX_N_IO_THREADS 130
/* Array of English strings describing the current state of an
i/o handler thread */
extern
const
char
*
srv_io_thread_op_info
[];
extern
const
char
*
srv_io_thread_function
[];
/** innodb_purge_threads; the number of purge tasks to use */
extern
uint
srv_n_purge_threads
;
...
...
@@ -616,19 +611,6 @@ srv_boot(void);
Frees the data structures created in srv_init(). */
void
srv_free
(
void
);
/*==========*/
/*********************************************************************//**
Sets the info describing an i/o thread current state. */
void
srv_set_io_thread_op_info
(
/*======================*/
ulint
i
,
/*!< in: the 'segment' of the i/o thread */
const
char
*
str
);
/*!< in: constant char string describing the
state */
/*********************************************************************//**
Resets the info describing an i/o thread current state. */
void
srv_reset_io_thread_op_info
();
/** Wake up the purge if there is work to do. */
void
...
...
storage/innobase/os/os0file.cc
View file @
c310f4c3
...
...
@@ -4166,15 +4166,6 @@ os_aio_print(FILE* file)
time_t
current_time
;
double
time_elapsed
;
for
(
uint
i
=
0
;
i
<
srv_n_file_io_threads
;
++
i
)
{
fprintf
(
file
,
"I/O thread %u state: %s (%s)"
,
i
,
srv_io_thread_op_info
[
i
],
srv_io_thread_function
[
i
]);
fprintf
(
file
,
"
\n
"
);
}
fputs
(
"Pending normal aio reads:"
,
file
);
...
...
storage/innobase/srv/srv0srv.cc
View file @
c310f4c3
...
...
@@ -384,12 +384,6 @@ my_bool innodb_encrypt_temporary_tables;
my_bool
srv_immediate_scrub_data_uncompressed
;
/* Array of English strings describing the current state of an
i/o handler thread */
const
char
*
srv_io_thread_op_info
[
SRV_MAX_N_IO_THREADS
];
const
char
*
srv_io_thread_function
[
SRV_MAX_N_IO_THREADS
];
static
time_t
srv_last_monitor_time
;
static
mysql_mutex_t
srv_innodb_monitor_mutex
;
...
...
@@ -610,33 +604,6 @@ srv_print_master_thread_info(
srv_log_writes_and_flush
);
}
/*********************************************************************//**
Sets the info describing an i/o thread current state. */
void
srv_set_io_thread_op_info
(
/*======================*/
ulint
i
,
/*!< in: the 'segment' of the i/o thread */
const
char
*
str
)
/*!< in: constant char string describing the
state */
{
ut_a
(
i
<
SRV_MAX_N_IO_THREADS
);
srv_io_thread_op_info
[
i
]
=
str
;
}
/*********************************************************************//**
Resets the info describing an i/o thread current state. */
void
srv_reset_io_thread_op_info
()
/*=========================*/
{
for
(
ulint
i
=
0
;
i
<
UT_ARR_SIZE
(
srv_io_thread_op_info
);
++
i
)
{
srv_io_thread_op_info
[
i
]
=
"not started yet"
;
}
}
static
void
thread_pool_thread_init
()
{
my_thread_init
();
...
...
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