summaryrefslogtreecommitdiff
path: root/storage
diff options
context:
space:
mode:
Diffstat (limited to 'storage')
-rw-r--r--storage/innobase/handler/ha_innodb.cc3
-rw-r--r--storage/innobase/include/srv0srv.h4
-rw-r--r--storage/innobase/os/os0file.cc1
3 files changed, 0 insertions, 8 deletions
diff --git a/storage/innobase/handler/ha_innodb.cc b/storage/innobase/handler/ha_innodb.cc
index 2fc18464180..3e6c46fb5aa 100644
--- a/storage/innobase/handler/ha_innodb.cc
+++ b/storage/innobase/handler/ha_innodb.cc
@@ -866,9 +866,6 @@ static SHOW_VAR innodb_status_variables[]= {
{"adaptive_hash_non_hash_searches", &btr_cur_n_non_sea, SHOW_SIZE_T},
#endif
{"background_log_sync", &srv_log_writes_and_flush, SHOW_SIZE_T},
-#if defined(LINUX_NATIVE_AIO)
- {"buffered_aio_submitted", &srv_stats.buffered_aio_submitted, SHOW_SIZE_T},
-#endif
{"buffer_pool_dump_status",
(char*) &export_vars.innodb_buffer_pool_dump_status, SHOW_CHAR},
{"buffer_pool_load_status",
diff --git a/storage/innobase/include/srv0srv.h b/storage/innobase/include/srv0srv.h
index 7dcbf2cd1cb..1562051c8d8 100644
--- a/storage/innobase/include/srv0srv.h
+++ b/storage/innobase/include/srv0srv.h
@@ -81,10 +81,6 @@ struct srv_stats_t
space in the log buffer and have to flush it */
ulint_ctr_1_t log_waits;
-#if defined(LINUX_NATIVE_AIO)
- ulint_ctr_1_t buffered_aio_submitted;
-#endif
-
/** Store the number of write requests issued */
ulint_ctr_1_t buf_pool_write_requests;
diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc
index 4ee7e5af0c7..fc3da454d2d 100644
--- a/storage/innobase/os/os0file.cc
+++ b/storage/innobase/os/os0file.cc
@@ -3963,7 +3963,6 @@ static bool is_linux_native_aio_supported()
}
int err = io_submit(io_ctx, 1, &p_iocb);
- srv_stats.buffered_aio_submitted.inc();
if (err >= 1) {
/* Now collect the submitted IO request. */