Sage Weil dccae99995 Btrfs: add flushoncommit mount option
The 'flushoncommit' mount option forces any data dirtied by a write in a
prior transaction to commit as part of the current commit.  This makes
the committed state a fully consistent view of the file system from the
application's perspective (i.e., it includes all completed file system
operations).  This was previously the behavior only when a snapshot is
created.

This is used by Ceph to ensure that completed writes make it to the
platter along with the metadata operations they are bound to (by
BTRFS_IOC_TRANS_{START,END}).

Signed-off-by: Sage Weil <sage@newdream.net>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
2009-04-02 16:59:01 -04:00
..
2009-01-05 21:25:51 -05:00
2009-04-02 16:59:01 -04:00
2009-04-03 09:47:43 -04:00
2009-01-05 21:25:51 -05:00
2008-09-25 11:04:06 -04:00
2008-09-25 11:04:06 -04:00
2009-02-12 14:11:25 -05:00
2009-02-20 11:00:09 -05:00
2009-02-04 09:28:28 -05:00
2009-01-05 21:25:51 -05:00
2009-01-05 21:25:51 -05:00
2009-04-02 16:59:01 -04:00
2009-01-05 21:25:51 -05:00
2009-04-02 16:49:40 -04:00
2008-12-12 10:03:26 -05:00
2009-02-04 09:29:13 -05:00
2009-02-04 09:29:13 -05:00
2009-01-05 21:25:51 -05:00