]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: shrink further sizeof(struct extent_buffer)
authorFilipe Manana <fdmanana@suse.com>
Thu, 14 Aug 2014 11:25:14 +0000 (12:25 +0100)
committerChris Mason <clm@fb.com>
Wed, 17 Sep 2014 20:38:17 +0000 (13:38 -0700)
commit0dd23537210185369c9a012f8192eccfca7bc1e2
treeb4e6cd946d4c12f1fb2ed6a48c24040d65305888
parent6f927af659f4a69b2b13e314e630c14d88ff952e
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>
fs/btrfs/extent_io.h