]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: enable a tracepoint when we fail tickets
authorJosef Bacik <josef@toxicpanda.com>
Wed, 14 Jul 2021 18:47:19 +0000 (14:47 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 23 Aug 2021 11:19:06 +0000 (13:19 +0200)
commit81b9c824477c370d8bfa1a6b76ad601612c094b3
treee1d5dcb07ee1b0bd8805275f9e07e7033febc087
parentad150f1a8bf44234b62f7eb0244af5bf137d6b91
btrfs: enable a tracepoint when we fail tickets

When debugging early enospc problems it was useful to have a tracepoint
where we failed all tickets so I could check the state of the enospc
counters at failure time to validate my fixes.  This adds the tracpoint
so you can easily get that information.

Reviewed-by: Nikolay Borisov <nborisov@suse.com>
Signed-off-by: Josef Bacik <josef@toxicpanda.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/space-info.c
include/trace/events/btrfs.h