diff options
author | Qu Wenruo <quwenruo@cn.fujitsu.com> | 2015-09-08 17:08:36 +0800 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2015-10-21 18:37:46 -0700 |
commit | f64d5ca868214f9beb60108c82fcb96940132bfb (patch) | |
tree | 21676bd140d5b755f24663839f10e2c04c878e3e /fs/btrfs/qgroup.h | |
parent | f695fdcef83ac6972e0eda1d6588a56348f521a2 (diff) | |
download | linux-f64d5ca868214f9beb60108c82fcb96940132bfb.tar.bz2 |
btrfs: delayed_ref: Add new function to record reserved space into delayed ref
Add new function btrfs_add_delayed_qgroup_reserve() function to record
how much space is reserved for that extent.
As btrfs only accounts qgroup at run_delayed_refs() time, so newly
allocated extent should keep the reserved space until then.
So add needed function with related members to do it.
Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs/btrfs/qgroup.h')
0 files changed, 0 insertions, 0 deletions