]> 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)
commitc22d9cea7cde75fce087a98a8e3b488e81ccbd89
treee1d5dcb07ee1b0bd8805275f9e07e7033febc087
parentd9d43213771a80c9410b8f44e47e59bdb52e4120
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