summaryrefslogtreecommitdiff
path: root/fs/btrfs/super.c
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2022-12-16 03:06:31 +0300
committerDavid Sterba <dsterba@suse.com>2023-02-13 19:50:34 +0300
commitcfc2de0fce015d4249c674ef9f5e0b4817ba5c53 (patch)
treec46220a9456d8a34415a706ceea65156668ee5b8 /fs/btrfs/super.c
parent36d4556745fe60e0e3c8d9933c2610b1c641b2f0 (diff)
downloadlinux-cfc2de0fce015d4249c674ef9f5e0b4817ba5c53.tar.xz
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>
Diffstat (limited to 'fs/btrfs/super.c')
-rw-r--r--fs/btrfs/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/super.c b/fs/btrfs/super.c
index 433ce221dc5c..e5136baef9af 100644
--- a/fs/btrfs/super.c
+++ b/fs/btrfs/super.c
@@ -58,6 +58,7 @@
#include "scrub.h"
#include "verity.h"
#include "super.h"
+#include "extent-tree.h"
#define CREATE_TRACE_POINTS
#include <trace/events/btrfs.h>