OSDN Git Service

btrfs: pass find_free_extent_ctl to allocator tracepoints
authorBoris Burkov <boris@bur.io>
Fri, 16 Dec 2022 00:06:31 +0000 (16:06 -0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 13 Feb 2023 16:50:34 +0000 (17:50 +0100)
commitcfc2de0fce015d4249c674ef9f5e0b4817ba5c53
treec46220a9456d8a34415a706ceea65156668ee5b8
parent36d4556745fe60e0e3c8d9933c2610b1c641b2f0
btrfs: pass find_free_extent_ctl to allocator tracepoints

The allocator tracepoints currently have a pile of values from ffe_ctl.
In modifying the allocator and adding more tracepoints, I found myself
adding to the already long argument list of the tracepoints. It makes it
a lot simpler to just send in the ffe_ctl itself.

Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Boris Burkov <boris@bur.io>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/extent-tree.c
fs/btrfs/extent-tree.h
fs/btrfs/super.c
include/trace/events/btrfs.h