summaryrefslogtreecommitdiff
path: root/storage/innobase/buf
diff options
context:
space:
mode:
authorMarko Mäkelä <marko.makela@mariadb.com>2020-11-25 09:42:38 +0200
committerMarko Mäkelä <marko.makela@mariadb.com>2020-11-25 09:42:38 +0200
commit6479006e14691ff85072d06682f81b90875e9cb0 (patch)
treed149050786d1ce0dcc1b09058b35de0c52611d2c /storage/innobase/buf
parent7a9405e3dc8741d50658e976b7e16c1807c2b9a7 (diff)
downloadmariadb-git-6479006e14691ff85072d06682f81b90875e9cb0.tar.gz
MDEV-24270: Collect multiple completed events at a time
tpool::aio::N_PENDING: Replaces OS_AIO_N_PENDING_IOS_PER_THREAD. This limits two similar things: the number of outstanding requests that a thread may io_submit(), and the number of completed requests collected at a time by io_getevents().
Diffstat (limited to 'storage/innobase/buf')
-rw-r--r--storage/innobase/buf/buf0buf.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/innobase/buf/buf0buf.cc b/storage/innobase/buf/buf0buf.cc
index 2ddd9f278b1..f3ad84a4853 100644
--- a/storage/innobase/buf/buf0buf.cc
+++ b/storage/innobase/buf/buf0buf.cc
@@ -1467,7 +1467,7 @@ bool buf_pool_t::create()
ut_d(lru_scan_itr.m_mutex= &mutex);
io_buf.create((srv_n_read_io_threads + srv_n_write_io_threads) *
- OS_AIO_N_PENDING_IOS_PER_THREAD);
+ tpool::aio::N_PENDING);
/* FIXME: remove some of these variables */
srv_buf_pool_curr_size= curr_pool_size;