Add atomic writes beta support to 5.5

Registered by Laurynas Biveinis

Add a Fusion I/O / DirectFS-specific doublewrite buffer replacement boolean option: --innodb-use-atomic-writes.

If enabled, this option issues a DFS-specific IOCTL call to enable the atomic write feature. If the underlying FS does not support this IOCTL, server quits. Otherwise doublewrite buffer is disabled, O_DIRECT is enabled for the data files and any writes to the data files then become atomic, i.e. at the application level we don't have to deal with the partial writes.

This feature is considered to be beta quality until we implementing testing infrastructure in Jenkins/MTR.

The implementation is to be adapted from MariaDB:
https://mariadb.atlassian.net/browse/MDEV-4338
https://kb.askmonty.org/en/fusionio-directfs-atomic-write-support/

Blueprint information

Status:
Complete
Approver:
Vadim Tkachenko
Priority:
High
Drafter:
Laurynas Biveinis
Direction:
Approved
Assignee:
Laurynas Biveinis
Definition:
Approved
Series goal:
Accepted for 5.5
Implementation:
Implemented
Milestone target:
milestone icon 5.5.31-30.3
Started by
Laurynas Biveinis
Completed by
Laurynas Biveinis

Sprints

Whiteboard

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.