Merge lp:~sergei.glushchenko/percona-xtrabackup/2.0-xb-bug1093385 into lp:percona-xtrabackup/2.0
Proposed by
Sergei Glushchenko
Status: | Merged |
---|---|
Approved by: | Alexey Kopytov |
Approved revision: | no longer in the source branch. |
Merged at revision: | 592 |
Proposed branch: | lp:~sergei.glushchenko/percona-xtrabackup/2.0-xb-bug1093385 |
Merge into: | lp:percona-xtrabackup/2.0 |
Diff against target: |
140 lines (+30/-16) 2 files modified
src/xbstream.c (+7/-1) src/xtrabackup.cc (+23/-15) |
To merge this branch: | bzr merge lp:~sergei.glushchenko/percona-xtrabackup/2.0-xb-bug1093385 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Alexey Kopytov (community) | Approve | ||
Review via email: mp+208190@code.launchpad.net |
Description of the change
This patch makes posix_fadvise to specify ranges. This reduces IO done to make a backup.
My experiment showed that bytes read needed to copy 886M database reduced from 980M to 886M. I also checked that datafiles are not cached upon backup done and during the backup.
Since POSIX_FADV_DONTNEED on Linux works only for data already in cache I removed posix_fadvise(
http://
failure on innodb56 seems to be unrelated to patch.
To post a comment you must log in.