lp:~raghavendra-prabhu/+junk/mysql-server-fallocate

Created by Raghavendra D Prabhu and last modified
Get this branch:
bzr branch lp:~raghavendra-prabhu/+junk/mysql-server-fallocate
Only Raghavendra D Prabhu can upload to this branch. If you are Raghavendra D Prabhu please log in for upload directions.

Related bugs

Related blueprints

Branch information

Owner:
Raghavendra D Prabhu
Status:
Experimental

Recent revisions

3562. By Raghavendra D Prabhu

Upstream commit - 05 May 2012

3561. By Raghavendra D Prabhu

Upstream commit - April 18

3560. By Raghavendra D Prabhu

Upstream

3559. By Raghavendra D Prabhu

Upstream

3558. By Raghavendra D Prabhu

Use workaround for Bug#24507 only if glibc version is older than 2.6, otherwise it will just be a overhead.

3557. By Raghavendra D Prabhu

Since posix_fallocate is more portable than fallocate, adding a check for its
existence and to use it, if fallocate doesn't exist.

3556. By Raghavendra D Prabhu

Minor fix for the change made in commit 3554.

3555. By Raghavendra D Prabhu

Added defined(__FreeBSD__) to os_file_fsync to avoid loops etc on other systems,
since fsync causes ENOLCK only on old FreeBSD systems.

3554. By Raghavendra D Prabhu

* Refactored the code in dict_load_table for greater clarity of logic

* Removed redundant call made to dict_table_get_first_index and dict_index_is_corrupted

3553. By Raghavendra D Prabhu

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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.