]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: adjust the flush trace point to include the source
authorJosef Bacik <josef@toxicpanda.com>
Fri, 9 Oct 2020 13:28:28 +0000 (09:28 -0400)
committerDavid Sterba <dsterba@suse.com>
Mon, 8 Feb 2021 21:58:59 +0000 (22:58 +0100)
commit5068cd37772fab104a583fd6d7d1492554bd3ab1
treee7adf15624c96c42d0039ef7be1b9a46a17ea06f
parentb4c116e75fea72825f53f42dd304738f44341777
btrfs: adjust the flush trace point to include the source

Since we have normal ticketed flushing and preemptive flushing, adjust
the tracepoint so that we know the source of the flushing action to make
it easier to debug problems.

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