Btrfs: Add data=ordered support
authorChris Mason <chris.mason@oracle.com>
Tue, 8 Jan 2008 20:46:30 +0000 (15:46 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:03:59 +0000 (11:03 -0400)
commitdc17ff8f11d129db9e83ab7244769e4eae05e14d
tree622e70100d6082e371a6ca62b02fd57e0c37f8dc
parente4204dedbbaa3a614605cb83cc0ac5161af6b4e6
Btrfs: Add data=ordered support

This forces file data extents down the disk along with the metadata that
references them.  The current implementation is fairly simple, and just
writes out all of the dirty pages in an inode before the commit.

Signed-off-by: Chris Mason <chris.mason@oracle.com>
13 files changed:
fs/btrfs/Makefile
fs/btrfs/btrfs_inode.h
fs/btrfs/ctree.c
fs/btrfs/ctree.h
fs/btrfs/disk-io.c
fs/btrfs/disk-io.h
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ordered-data.c [new file with mode: 0644]
fs/btrfs/ordered-data.h [new file with mode: 0644]
fs/btrfs/transaction.c
fs/btrfs/transaction.h