User: Password:
Subscribe / Log in / New account

replace barriers with explicit flush / FUA usage

From:  Christoph Hellwig <>
Subject:  [PATCH 00/15] replace barriers with explicit flush / FUA usage
Date:  Wed, 18 Aug 2010 05:29:08 -0400
Message-ID:  <>
Archive-link:  Article

This series converts over all filesystems to the new WRITE_FLUSH_FUA
primitive that Tejun added.  XFS, btrfs, gfs2, reiserfs, ext3 and ext4
have passed extensive xfstests coverage with this, while ocfs2, nilfs2
and fat are unsupposed by xfstests and thus untested in this patch.

The discard code hasn't been tested yet, I'm looking into more extensive
testing for this later.  Note that the nilfs2 discard code did not wait
for the discards to finish meaning that it's almost guaranteed to be
broken after these patches, although I wouldn't be surprised if it already
was before.

The patches are a bit larger than the one liners I promised because I
remove the EOPNOTSUPP handling that's not needed with the new code.

To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to
More majordomo info at

Copyright © 2010, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds