-
Committer:
Raghavendra D Prabhu
-
Date:
2011-11-28 19:29:24 UTC
-
mfrom:
(3550.1.1 aio-fix)
-
Revision ID:
raghavendra.prabhu@percona.com-20111128192924-oqpi0j7iq1eu4x0w
MySQL crashes when AIO is attempted on a file whose underlying media doesn't
support it. This is true for tmpfs on kernel < 2.6.22 and other
filesystems/devices where AIO may be undefined. So, with this patch, it will try
to use simulated aio if the native aio fails (only for that file/table).
innodb_use_native_aio doesn't help if only a few tables need to have AIO and
rest don't.
Should fix http://bugs.mysql.com/bug.php?id=58421. Also, discussed here
http://ronaldbradford.com/blog/?p=3366.