aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorFilipe Manana <fdmanana@suse.com>2014-08-14 07:25:14 -0400
committerChris Mason <clm@fb.com>2014-09-17 16:38:17 -0400
commit2a39e5980257c77f48b5c31f9fb483a72a03b213 (patch)
treeb4e6cd946d4c12f1fb2ed6a48c24040d65305888 /fs
parent4395e0c4da486f007dcb45b0336427be7ec08ab1 (diff)
Btrfs: shrink further sizeof(struct extent_buffer)
The map_start and map_len fields aren't used anywhere, so just remove them. On a x86_64 system, this reduced sizeof(struct extent_buffer) from 296 bytes to 280 bytes, and therefore 14 extent_buffer structs can now fit into a page instead of 13. Signed-off-by: Filipe Manana <fdmanana@suse.com> Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/btrfs/extent_io.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h
index 1f608166fe67..844b4c5029cd 100644
--- a/fs/btrfs/extent_io.h
+++ b/fs/btrfs/extent_io.h
@@ -125,8 +125,6 @@ struct extent_state {
125struct extent_buffer { 125struct extent_buffer {
126 u64 start; 126 u64 start;
127 unsigned long len; 127 unsigned long len;
128 unsigned long map_start;
129 unsigned long map_len;
130 unsigned long bflags; 128 unsigned long bflags;
131 struct btrfs_fs_info *fs_info; 129 struct btrfs_fs_info *fs_info;
132 spinlock_t refs_lock; 130 spinlock_t refs_lock;