btrfs: qgroup: Update trace events for metadata reservation
authorQu Wenruo <wqu@suse.com>
Tue, 12 Dec 2017 07:34:35 +0000 (15:34 +0800)
committerDavid Sterba <dsterba@suse.com>
Sat, 31 Mar 2018 00:01:05 +0000 (02:01 +0200)
commit4ee0d8832c2ecd08fd4ccbaa55484e6a500f2f34
treee9bb320db4632705a96dee98fc36640c4be3b0cd
parent8287475a20552af66b32c07704dbdbeeb898ac1f
btrfs: qgroup: Update trace events for metadata reservation

Now trace_qgroup_meta_reserve() will have extra type parameter.

And introduce two new trace events:

1) trace_qgroup_meta_free_all_pertrans()
   For btrfs_qgroup_free_meta_all_pertrans()

2) trace_qgroup_meta_convert()
   For btrfs_qgroup_convert_reserved_meta()

Signed-off-by: Qu Wenruo <wqu@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/qgroup.c
include/trace/events/btrfs.h