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
b6be78d4
Commit
b6be78d4
authored
Dec 23, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.4 into 10.5
parents
ed5d675c
fccd8104
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
storage/innobase/include/os0file.h
storage/innobase/include/os0file.h
+2
-1
storage/innobase/os/os0file.cc
storage/innobase/os/os0file.cc
+2
-2
No files found.
storage/innobase/include/os0file.h
View file @
b6be78d4
...
@@ -38,6 +38,7 @@ Created 10/21/1995 Heikki Tuuri
...
@@ -38,6 +38,7 @@ Created 10/21/1995 Heikki Tuuri
#include "fsp0types.h"
#include "fsp0types.h"
#include "tpool.h"
#include "tpool.h"
#include "my_counter.h"
#ifndef _WIN32
#ifndef _WIN32
#include <dirent.h>
#include <dirent.h>
...
@@ -266,7 +267,7 @@ struct os_file_size_t {
...
@@ -266,7 +267,7 @@ struct os_file_size_t {
constexpr
ulint
OS_AIO_N_PENDING_IOS_PER_THREAD
=
256
;
constexpr
ulint
OS_AIO_N_PENDING_IOS_PER_THREAD
=
256
;
extern
ulint
os_n_file_reads
;
extern
Atomic_counter
<
ulint
>
os_n_file_reads
;
extern
ulint
os_n_file_writes
;
extern
ulint
os_n_file_writes
;
extern
ulint
os_n_fsyncs
;
extern
ulint
os_n_fsyncs
;
...
...
storage/innobase/os/os0file.cc
View file @
b6be78d4
...
@@ -161,7 +161,7 @@ static ulint os_innodb_umask = 0;
...
@@ -161,7 +161,7 @@ static ulint os_innodb_umask = 0;
#endif
/* WITH_INNODB_DISALLOW_WRITES */
#endif
/* WITH_INNODB_DISALLOW_WRITES */
ulint
os_n_file_reads
;
Atomic_counter
<
ulint
>
os_n_file_reads
;
static
ulint
os_bytes_read_since_printout
;
static
ulint
os_bytes_read_since_printout
;
ulint
os_n_file_writes
;
ulint
os_n_file_writes
;
ulint
os_n_fsyncs
;
ulint
os_n_fsyncs
;
...
@@ -4184,7 +4184,7 @@ os_aio_print(FILE* file)
...
@@ -4184,7 +4184,7 @@ os_aio_print(FILE* file)
ULINTPF
" OS fsyncs
\n
"
,
ULINTPF
" OS fsyncs
\n
"
,
log_sys
.
get_pending_flushes
(),
log_sys
.
get_pending_flushes
(),
ulint
{
fil_n_pending_tablespace_flushes
},
ulint
{
fil_n_pending_tablespace_flushes
},
os_n_file_reads
,
ulint
{
os_n_file_reads
}
,
os_n_file_writes
,
os_n_file_writes
,
os_n_fsyncs
);
os_n_fsyncs
);
...
...
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