diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-04-16 09:37:33 +0200 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-06-10 18:25:49 +0200 |
commit | 550d7a2ed5db35756222ec17cff3376ff38d78e2 (patch) | |
tree | c8b60650e4ac8facdf25f498e2901b7eebb3f4ae /fs/btrfs/extent-tree.h | |
parent | btrfs: backref: Add special time_seq == (u64)-1 case for (diff) | |
download | linux-550d7a2ed5db35756222ec17cff3376ff38d78e2.tar.xz linux-550d7a2ed5db35756222ec17cff3376ff38d78e2.zip |
btrfs: qgroup: Add new qgroup calculation function
btrfs_qgroup_account_extents().
The new btrfs_qgroup_account_extents() function should be called in
btrfs_commit_transaction() and it will update all the qgroup according
to delayed_ref_root->dirty_extent_root.
The new function can handle both normal operation during
commit_transaction() or in rescan in a unified method with clearer
logic.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/extent-tree.h')
-rw-r--r-- | fs/btrfs/extent-tree.h | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/fs/btrfs/extent-tree.h b/fs/btrfs/extent-tree.h new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/fs/btrfs/extent-tree.h |