]> git.baikalelectronics.ru Git - kernel.git/commit
btrfs: Introduce fs_info to extent_io_tree
authorQu Wenruo <wqu@suse.com>
Fri, 1 Mar 2019 02:47:58 +0000 (10:47 +0800)
committerDavid Sterba <dsterba@suse.com>
Mon, 29 Apr 2019 17:02:18 +0000 (19:02 +0200)
commitb3e04fcacb1a1d7852fea97236beadac1145bff4
tree00a1e8b15ef51787be08ad85e79957699d719603
parentb31bbfe489a87edf14c6dc41b8647f8a6745aeeb
btrfs: Introduce fs_info to extent_io_tree

This patch will add a new member fs_info to extent_io_tree.

This provides the basis for later trace events to distinguish the output
between different btrfs filesystems. While this increases the size of
the structure, we want to know the source of the trace events and
passing the fs_info as an argument to all contexts is not possible.

The selftests are now allowed to set it to NULL as they don't use the
tracepoints.

Signed-off-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
fs/btrfs/disk-io.c
fs/btrfs/extent_io.c
fs/btrfs/extent_io.h
fs/btrfs/inode.c
fs/btrfs/relocation.c
fs/btrfs/tests/btrfs-tests.c
fs/btrfs/tests/extent-io-tests.c
fs/btrfs/transaction.c