diff options
author | Filipe Manana <fdmanana@gmail.com> | 2014-06-16 08:14:25 -0400 |
---|---|---|
committer | Chris Mason <clm@fb.com> | 2014-06-19 17:20:28 -0400 |
commit | 46fefe41b5360106ebfed228fbfba62f75ad4fcd (patch) | |
tree | e65c78647a1e9df042a0210b18ff53cbb1daab2f /fs | |
parent | ea4ebde02e08558b020c4b61bb9a4c0fcf63028e (diff) |
Btrfs: remove unused wait queue in struct extent_buffer
The lock_wq wait queue is not used anywhere, therefore just remove it.
On a x86_64 system, this reduced sizeof(struct extent_buffer) from 320
bytes down to 296 bytes, which means a 4Kb page can now be used for
13 extent buffers instead of 12.
Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/extent_io.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 15ce5f2a2b62..ccc264e7bde1 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h | |||
@@ -158,7 +158,6 @@ struct extent_buffer { | |||
158 | * to unlock | 158 | * to unlock |
159 | */ | 159 | */ |
160 | wait_queue_head_t read_lock_wq; | 160 | wait_queue_head_t read_lock_wq; |
161 | wait_queue_head_t lock_wq; | ||
162 | struct page *pages[INLINE_EXTENT_BUFFER_PAGES]; | 161 | struct page *pages[INLINE_EXTENT_BUFFER_PAGES]; |
163 | #ifdef CONFIG_BTRFS_DEBUG | 162 | #ifdef CONFIG_BTRFS_DEBUG |
164 | struct list_head leak_list; | 163 | struct list_head leak_list; |