diff options
| author | Sage Weil <[email protected]> | 2009-04-02 20:59:01 +0000 |
|---|---|---|
| committer | Chris Mason <[email protected]> | 2009-04-02 20:59:01 +0000 |
| commit | dccae99995089641fbac452ebc7f0cab18751ddb (patch) | |
| tree | c8f3611cc62baa6fa02baff18374d8f3a61b06bf /fs/btrfs/async-thread.c | |
| parent | Btrfs: notreelog mount option (diff) | |
| download | kernel-dccae99995089641fbac452ebc7f0cab18751ddb.tar.gz kernel-dccae99995089641fbac452ebc7f0cab18751ddb.zip | |
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 <[email protected]>
Signed-off-by: Chris Mason <[email protected]>
Diffstat (limited to 'fs/btrfs/async-thread.c')
0 files changed, 0 insertions, 0 deletions
