diff options
author | Qu Wenruo <wqu@suse.com> | 2017-12-12 10:34:31 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2018-03-31 02:41:14 +0300 |
commit | 64cfaef6362fc756972f477372997fbe117d79cb (patch) | |
tree | 226ac6bfc09822f57aeb5809880e43d094ad78c9 /fs/btrfs/free-space-cache.c | |
parent | e1211d0e896b71d395fe411d0e0a76f4bc336617 (diff) | |
download | linux-64cfaef6362fc756972f477372997fbe117d79cb.tar.xz |
btrfs: qgroup: Introduce function to convert META_PREALLOC into META_PERTRANS
For meta_prealloc reservation users, after btrfs_join_transaction()
caller will modify tree so part (or even all) meta_prealloc reservation
should be converted to meta_pertrans until transaction commit time.
This patch introduces a new function,
btrfs_qgroup_convert_reserved_meta() to do this for META_PREALLOC
reservation user.
Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/free-space-cache.c')
0 files changed, 0 insertions, 0 deletions