From: David Sterba Date: Wed, 13 Apr 2011 13:41:04 +0000 (+0200) Subject: btrfs: separate superblock items out of fs_info X-Git-Tag: v3.2-rc1~21^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6c41761fc6efe1503103a1afe03a6635c0b5d4ec;p=pandora-kernel.git btrfs: separate superblock items out of fs_info fs_info has now ~9kb, more than fits into one page. This will cause mount failure when memory is too fragmented. Top space consumers are super block structures super_copy and super_for_commit, ~2.8kb each. Allocate them dynamically. fs_info will be ~3.5kb. (measured on x86_64) Add a wrapper for freeing fs_info and all of it's dynamically allocated members. Signed-off-by: David Sterba --- Reading git-diff-tree failed