aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/btrfs_inode.h
AgeCommit message (Collapse)AuthorFilesLines
2008-09-25Btrfs: Add a per-inode csum mutex to avoid races creating csum itemsChris Mason1-0/+1
Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Throttle file_write when data=ordered is flushing the inodeChris Mason1-0/+1
Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Handle checksumming errors while reading data blocksChris Mason1-0/+1
Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Fix i_blocks accountingChris Mason1-0/+1
Now that delayed allocation accounting works, i_blocks accounting is changed to only modify i_blocks when extents inserted or removed. The fillattr call is changed to include the delayed allocation byte count in the i_blocks result. Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Split the extent_map code into two partsChris Mason1-0/+2
There is now extent_map for mapping offsets in the file to disk and extent_io for state tracking, IO submission and extent_bufers. The new extent_map code shifts from [start,end] pairs to [start,len], and pushes the locking out into the caller. This allows a few performance optimizations and is easier to use. A number of extent_map usage bugs were fixed, mostly with failing to remove extent_map entries when changing the file. Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Add inode flags supportYan1-0/+1
This patch adds NODATASUM & NODATACOW inode flags support. Signed-off-by: Chris Mason <[email protected]>
2008-09-25Btrfs: Add data=ordered supportChris Mason1-0/+1
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 <[email protected]>
2007-08-27Btrfs: Extent based page cache code. This uses an rbtree of extents and testsChris Mason1-0/+3
instead of buffer heads. Signed-off-by: Chris Mason <[email protected]>
2007-08-10Btrfs: delay commits during fsync to allow more writersJosef Bacik1-0/+5
Signed-off-by: Chris Mason <[email protected]>
2007-06-13btrfs: Code cleanupAneesh1-0/+1
Attaching below is some of the code cleanups that i came across while reading the code. a) alloc_path already calls init_path. b) Mention that btrfs_inode is the in memory copy.Ext4 have ext4_inode_info as the in memory copy ext4_inode as the disk copy Signed-off-by: Chris Mason <[email protected]>
2007-06-12Btrfs: add GPLv2Chris Mason1-0/+18
Signed-off-by: Chris Mason <[email protected]>
2007-04-30Btrfs: allocator improvements, inode block groupsChris Mason1-0/+1
Signed-off-by: Chris Mason <[email protected]>
2007-04-10Btrfs: drop the inode map treeChris Mason1-2/+0
Signed-off-by: Chris Mason <[email protected]>
2007-04-06Btrfs: start of support for many FS volumesChris Mason1-0/+2
Signed-off-by: Chris Mason <[email protected]>
2007-04-02Btrfs: still corruption huntingChris Mason1-0/+14
Signed-off-by: Chris Mason <[email protected]>