btrfs: rename extent map shrinker members from struct btrfs_fs_info
The names for the members of struct btrfs_fs_info related to the extent map shrinker are a bit too long, so rename them to be shorter by replacing the "extent_map_" prefix with the "em_" prefix. Reviewed-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Filipe Manana <fdmanana@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
This commit is contained in:
committed by
David Sterba
parent
70a5f9e266
commit
e7fa845010
@@ -2568,10 +2568,10 @@ TRACE_EVENT(btrfs_extent_map_shrinker_scan_enter,
|
||||
|
||||
TP_fast_assign_btrfs(fs_info,
|
||||
__entry->nr_to_scan = \
|
||||
atomic64_read(&fs_info->extent_map_shrinker_nr_to_scan);
|
||||
atomic64_read(&fs_info->em_shrinker_nr_to_scan);
|
||||
__entry->nr = nr;
|
||||
__entry->last_root_id = fs_info->extent_map_shrinker_last_root;
|
||||
__entry->last_ino = fs_info->extent_map_shrinker_last_ino;
|
||||
__entry->last_root_id = fs_info->em_shrinker_last_root;
|
||||
__entry->last_ino = fs_info->em_shrinker_last_ino;
|
||||
),
|
||||
|
||||
TP_printk_btrfs("nr_to_scan=%ld nr=%ld last_root=%llu(%s) last_ino=%llu",
|
||||
@@ -2595,8 +2595,8 @@ TRACE_EVENT(btrfs_extent_map_shrinker_scan_exit,
|
||||
TP_fast_assign_btrfs(fs_info,
|
||||
__entry->nr_dropped = nr_dropped;
|
||||
__entry->nr = nr;
|
||||
__entry->last_root_id = fs_info->extent_map_shrinker_last_root;
|
||||
__entry->last_ino = fs_info->extent_map_shrinker_last_ino;
|
||||
__entry->last_root_id = fs_info->em_shrinker_last_root;
|
||||
__entry->last_ino = fs_info->em_shrinker_last_ino;
|
||||
),
|
||||
|
||||
TP_printk_btrfs("nr_dropped=%ld nr=%ld last_root=%llu(%s) last_ino=%llu",
|
||||
|
||||
Reference in New Issue
Block a user