summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/qgroup.h
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-09-08 17:08:36 +0800
committerChris Mason <clm@fb.com>2015-10-21 18:37:46 -0700
commitf64d5ca868214f9beb60108c82fcb96940132bfb (patch)
tree21676bd140d5b755f24663839f10e2c04c878e3e /fs/btrfs/qgroup.h
parentf695fdcef83ac6972e0eda1d6588a56348f521a2 (diff)
downloadlinux-stable-f64d5ca868214f9beb60108c82fcb96940132bfb.tar.gz
linux-stable-f64d5ca868214f9beb60108c82fcb96940132bfb.tar.bz2
linux-stable-f64d5ca868214f9beb60108c82fcb96940132bfb.zip
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