Partially Revert "MDEV-24270: Collect multiple completed events at a time"

This partially reverts commit 6479006e14.

Remove the constant tpool::aio::N_PENDING, which has no
intrinsic meaning for the tpool.
This commit is contained in:
Vladislav Vaintroub 2020-11-25 10:59:10 +01:00
commit 78df9e37a6
5 changed files with 10 additions and 7 deletions

View file

@ -264,6 +264,9 @@ 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;