summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorQu Wenruo <quwenruo@cn.fujitsu.com>2015-03-17 11:59:47 +0300
committerChris Mason <clm@fb.com>2015-06-10 19:25:18 +0300
commitc682f9b3c2e091f3211ca68585be39f2a2beb8d0 (patch)
tree22bcdd24bbb4e0ba3eeb6e8c34bd4e6bbfcd73c5 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent9c542136fd94941572762e7955e6a054b23e97f7 (diff)
downloadlinux-c682f9b3c2e091f3211ca68585be39f2a2beb8d0.tar.xz
btrfs: extent-tree: Use ref_node to replace unneeded parameters in __inc_extent_ref() and __free_extent()
__btrfs_inc_extent_ref() and __btrfs_free_extent() have already had too many parameters, but three of them can be extracted from btrfs_delayed_ref_node struct. So use btrfs_delayed_ref_node struct as a single parameter to replace the bytenr/num_byte/no_quota parameters. The real objective of this patch is to allow btrfs_qgroup_record_ref() get the delayed_ref_node in incoming qgroup patches. Other functions calling btrfs_qgroup_record_ref() are not affected since the rest will only add/sub exclusive extents, where node is not used. Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions