Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/atomic-fio-5.5
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

480. By Laurynas Biveinis

Implement atomic write support for Fusion I/O storage with directFS
file system, implementing blueprint

This implementation is based on MariaDB implementation at

- Add new InnoDB global, read-only option innodb_use_atomic_writes.
- If this option is enabled, then at InnoDB initialization disable the
  doublewrite buffer if it's enabled and set file flush method to
  O_DIRECT if it's not O_DIRECT or ALL_O_DIRECT.
- Add new function os_file_set_atomic_writes() that either enables
  atomic writes on a specified file descriptor if a Fusion
  I/O-specific syscall is available, either fails.
- Call os_file_set_atomic_writes() from os_file_create() on data files
  if atomic writes are enabled.
- If atomic writes are enabled and posix_fallocate() is available,
  then work around a directFS bug that atomic files fail beyond
  current EOF by:
  - calling os_file_set_size() from fil_extend_space_to_desired_size();
  - calling posix_fallocate() in os_file_set_size().
- New variable test sys_vars.innodb_use_atomic_writes_basic, re-record
  percona_server_variables_debug and percona_server_variables_release

479. By <email address hidden>

Merge lp:~akopytov/percona-server/bug1125248

475. By <email address hidden>

Merge lp:~akopytov/percona-server/bug989253-5.5

Branch metadata

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