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().
This commit is contained in:
Marko Mäkelä 2020-11-25 09:42:38 +02:00
commit 6479006e14
5 changed files with 10 additions and 12 deletions

View file

@ -265,9 +265,6 @@ struct os_file_size_t {
os_offset_t m_alloc_size;
};
/** Win NT does not allow more than 64 */
static const ulint OS_AIO_N_PENDING_IOS_PER_THREAD = 256;
extern ulint os_n_file_reads;
extern ulint os_n_file_writes;
extern ulint os_n_fsyncs;