Re: [PATCH 7/7] btrfs: use fs_info for btrfs_handle_em_exist tracepoint

2018-04-10 Thread David Sterba
On Tue, Apr 10, 2018 at 10:45:39AM +0300, Nikolay Borisov wrote: > On 9.04.2018 14:58, David Sterba wrote: > > We really want to know to which filesystem the extent map events belong, > > but as it cannot be reached from the extent_map pointers, we need to > > pass it down the callchain. > > I re

Re: [PATCH 7/7] btrfs: use fs_info for btrfs_handle_em_exist tracepoint

2018-04-10 Thread Nikolay Borisov
On 9.04.2018 14:58, David Sterba wrote: > We really want to know to which filesystem the extent map events belong, > but as it cannot be reached from the extent_map pointers, we need to > pass it down the callchain. I really dislike propagating arguments solely for tracepoints purposes, but if

[PATCH 7/7] btrfs: use fs_info for btrfs_handle_em_exist tracepoint

2018-04-09 Thread David Sterba
We really want to know to which filesystem the extent map events belong, but as it cannot be reached from the extent_map pointers, we need to pass it down the callchain. Signed-off-by: David Sterba --- fs/btrfs/extent_map.c | 6 -- fs/btrfs/extent_map.h | 3 ++- fs/