mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 19:00:25 +00:00
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>
This commit is contained in:
parent
ea4ebde02e
commit
46fefe41b5
1 changed files with 0 additions and 1 deletions
|
@ -158,7 +158,6 @@ struct extent_buffer {
|
||||||
* to unlock
|
* to unlock
|
||||||
*/
|
*/
|
||||||
wait_queue_head_t read_lock_wq;
|
wait_queue_head_t read_lock_wq;
|
||||||
wait_queue_head_t lock_wq;
|
|
||||||
struct page *pages[INLINE_EXTENT_BUFFER_PAGES];
|
struct page *pages[INLINE_EXTENT_BUFFER_PAGES];
|
||||||
#ifdef CONFIG_BTRFS_DEBUG
|
#ifdef CONFIG_BTRFS_DEBUG
|
||||||
struct list_head leak_list;
|
struct list_head leak_list;
|
||||||
|
|
Loading…
Reference in a new issue