diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-06-12 16:07:18 +0200 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-06-12 16:07:18 +0200 |
commit | 4bca1a786f9986cec7d0487059451e51e2b9479b (patch) | |
tree | e1a921bf2ce1ed21b1fe8a26435e4a1ea8268ea2 /storage/xtradb/include | |
parent | 824ce5f3eae52ee418665211c24218a5772c43f2 (diff) | |
download | mariadb-git-4bca1a786f9986cec7d0487059451e51e2b9479b.tar.gz |
Fix XtraDB LPBug #714143 :
Windows native async io is disabled.
The patch uses completion ports for asynchronous IO notification ,
instead of formerly used notification via event . This also removes
the limit of 64 async IOs per background IO thread (this limit was
forced by using WaitForMultipleObjects in previous AIO implementation)
Diffstat (limited to 'storage/xtradb/include')
-rw-r--r-- | storage/xtradb/include/os0file.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/xtradb/include/os0file.h b/storage/xtradb/include/os0file.h index 732e930517b..4a99eb6b0b5 100644 --- a/storage/xtradb/include/os0file.h +++ b/storage/xtradb/include/os0file.h @@ -152,8 +152,8 @@ log. */ #define OS_FILE_LOG 256 /* This can be ORed to type */ /* @} */ -#define OS_AIO_N_PENDING_IOS_PER_THREAD 32 /*!< Win NT does not allow more - than 64 */ +#define OS_AIO_N_PENDING_IOS_PER_THREAD 256 /*!< Windows might be able to handle +more */ /** Modes for aio operations @{ */ #define OS_AIO_NORMAL 21 /*!< Normal asynchronous i/o not for ibuf |