From: Filipe Manana Date: Mon, 16 Jun 2014 12:14:25 +0000 (+0100) Subject: Btrfs: remove unused wait queue in struct extent_buffer X-Git-Tag: v3.16-rc2~4^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=46fefe41b5360106ebfed228fbfba62f75ad4fcd;p=profile%2Fcommon%2Fplatform%2Fkernel%2Flinux-artik7.git 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 Signed-off-by: Chris Mason --- diff --git a/fs/btrfs/extent_io.h b/fs/btrfs/extent_io.h index 15ce5f2..ccc264e 100644 --- a/fs/btrfs/extent_io.h +++ b/fs/btrfs/extent_io.h @@ -158,7 +158,6 @@ struct extent_buffer { * to unlock */ wait_queue_head_t read_lock_wq; - wait_queue_head_t lock_wq; struct page *pages[INLINE_EXTENT_BUFFER_PAGES]; #ifdef CONFIG_BTRFS_DEBUG struct list_head leak_list;