Commit 629e33a1 authored by Nikolay Borisov's avatar Nikolay Borisov Committed by David Sterba

btrfs: remove unused btrfs_fs_info::total_pinned

This got added 14 years ago in 324ae4df ("Btrfs: Add block group
pinned accounting back") but it was not ever used. Subsequently its
usage got gradually removed in 8790d502 ("Btrfs: Add support for
mirroring across drives") and 11833d66 ("Btrfs: improve async block
group caching"). Let's remove it for good!
Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: default avatarNikolay Borisov <nborisov@suse.com>
Reviewed-by: default avatarDavid Sterba <dsterba@suse.com>
Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
parent 138a12d8
...@@ -823,8 +823,6 @@ struct btrfs_fs_info { ...@@ -823,8 +823,6 @@ struct btrfs_fs_info {
struct kobject *space_info_kobj; struct kobject *space_info_kobj;
struct kobject *qgroups_kobj; struct kobject *qgroups_kobj;
u64 total_pinned;
/* used to keep from writing metadata until there is a nice batch */ /* used to keep from writing metadata until there is a nice batch */
struct percpu_counter dirty_metadata_bytes; struct percpu_counter dirty_metadata_bytes;
struct percpu_counter delalloc_bytes; struct percpu_counter delalloc_bytes;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment