Commit b6be78d4 authored by Marko Mäkelä's avatar Marko Mäkelä

Merge 10.4 into 10.5

parents ed5d675c fccd8104
...@@ -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;
......
...@@ -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);
......
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