diff options
author | Filipe Manana <fdmanana@suse.com> | 2020-06-15 12:36:48 +0300 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2020-07-27 13:55:25 +0300 |
commit | cd8d39f4aeb3b69af2478112366584256248eb2b (patch) | |
tree | 1d750f92fd1960cbebf14dd876563b67d5abc6d8 /fs/btrfs/ordered-data.h | |
parent | ce6ef5abe68251cb60c4585df2cc73e218ec0dba (diff) | |
download | linux-cd8d39f4aeb3b69af2478112366584256248eb2b.tar.xz |
btrfs: remove no longer used log_list member of struct btrfs_ordered_extent
The 'log_list' member of an ordered extent was used keep track of which
ordered extents we needed to wait after logging metadata, but is not used
anymore since commit 5636cf7d6dc86f ("btrfs: remove the logged extents
infrastructure"), as we now always wait on ordered extent completion
before logging metadata. So just remove it since it's doing nothing and
making each ordered extent structure waste more memory (2 pointers).
Reviewed-by: Johannes Thumshirn <johannes.thumshirn@wdc.com>
Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/ordered-data.h')
-rw-r--r-- | fs/btrfs/ordered-data.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/ordered-data.h b/fs/btrfs/ordered-data.h index 4a506c5598f8..435f93c46c32 100644 --- a/fs/btrfs/ordered-data.h +++ b/fs/btrfs/ordered-data.h @@ -104,9 +104,6 @@ struct btrfs_ordered_extent { /* list of checksums for insertion when the extent io is done */ struct list_head list; - /* If we need to wait on this to be done */ - struct list_head log_list; - /* If the transaction needs to wait on this ordered extent */ struct list_head trans_list; |