mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
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>
This commit is contained in:
parent
e4204dedbb
commit
dc17ff8f11
13 changed files with 387 additions and 28 deletions
|
@ -29,6 +29,7 @@ struct btrfs_inode {
|
|||
struct extent_map_tree extent_tree;
|
||||
struct inode vfs_inode;
|
||||
|
||||
u64 ordered_trans;
|
||||
/*
|
||||
* transid of the trans_handle that last modified this inode
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue