From: Filipe Manana Date: Sun, 6 Jul 2014 19:09:59 +0000 (+0100) Subject: Btrfs: reduce size of struct extent_state X-Git-Tag: fixes-against-v3.18-rc2~120^2~103 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27a3507de91e3dd51a2cf8dca4b33623dd6eaa88;p=pandora-kernel.git Btrfs: reduce size of struct extent_state The tree field of struct extent_state was only used to figure out if an extent state was connected to an inode's io tree or not. For this we can just use the rb_node field itself. On a x86_64 system with this change the sizeof(struct extent_state) is reduced from 96 bytes down to 88 bytes, meaning that with a page size of 4096 bytes we can now store 46 extent states per page instead of 42. Signed-off-by: Filipe Manana Signed-off-by: Chris Mason --- Reading git-diff-tree failed