summaryrefslogtreecommitdiff
path: root/fs/btrfs/delalloc-space.h
diff options
context:
space:
mode:
authorBoris Burkov <boris@bur.io>2023-02-15 12:59:49 -0800
committerDavid Sterba <dsterba@suse.com>2023-03-01 19:27:20 +0100
commitfcd9531b305288dc2848d38567d466af4ee147b2 (patch)
tree7c4a644d6994df5e44d000f5c53eb03f30bd567d /fs/btrfs/delalloc-space.h
parent964a54e5e1a0d70cd80bd5a0885a1938463625b1 (diff)
btrfs: sysfs: add size class stats
Make it possible to see the distribution of size classes for block groups. Helpful for testing and debugging the allocator w.r.t. to size classes. The new stats can be found at the path: /sys/fs/btrfs/<FSID>/allocation/<bg-type>/size_class but they will only be non-zero for bg-type = data. 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/delalloc-space.h')
0 files changed, 0 insertions, 0 deletions