~hartmut-php/maria/bug-917662

Viewing all changes in revision 3377.

  • Committer: Vladislav Vaintroub
  • Date: 2012-01-08 20:14:07 UTC
  • Revision ID: wlad@montyprogram.com-20120108201407-mtxueky7hicy89e1
MDEV-77 - possible deadlock in XtraDB async io subsystem on Windows.

Split IO threads into ones that handle only read completion and ones that handle only write completion, as it was originally done, but got lost with "completion port" patch. The reason we need to have dedicated read and dedicated write threads is that read completion routine can block waiting for write io to complete, and in rare cases where all io threads are handling async reads, it can deadlock.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: