]> 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)
commit4b02b00fe5f1377f3dbfb168dfcfebf3d7a9632f
treee7adf15624c96c42d0039ef7be1b9a46a17ea06f
parent88a777a6e5272106bdc96b1032d89b0ddc0e526f
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