HomeFreeBSD

Linux 2.6.37 compat, WRITE_FLUSH_FUA

Description

Linux 2.6.37 compat, WRITE_FLUSH_FUA

The WRITE_FLUSH, WRITE_FUA, and WRITE_FLUSH_FUA flags have been
introduced as a replacement for WRITE_BARRIER. This was done
to allow richer semantics to be expressed to the block layer.
It is the block layers responsibility to choose the correct way
to implement these semantics.

This change simply updates the bio's to use the new kernel API
which should be absolutely safe. However, since ZFS depends
entirely on this working as designed for correctness we do
want to be careful.

Closes #281

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Jun 16 2011, 6:20 PM
Parents
rGdb97f88646b0: Update rpm/deb packages to be FHS compliant
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG96801d290652: Linux 2.6.37 compat, WRITE_FLUSH_FUA (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Jun 17 2011, 9:37 PM