~laurynas-biveinis/percona-server/bug1286114-5.5

Viewing all changes in revision 625.

  • Committer: Laurynas Biveinis
  • Date: 2014-03-05 11:22:30 UTC
  • Revision ID: laurynas.biveinis@percona.com-20140305112230-kdf8esj4e2w9oskh
Fix bug 1286114 (Slow file extend when innodb_use_fallocate=1 and SSD
file storage) based on the patch by Jan Lindström.

Replace the posix_fallocate zero to desired extent-calling
os_file_set_size call in fil_extend_space_to_desired_size with a local
posix_fallocate call that extends starting from the current end of
file only.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: