From: Amir Goldstein Date: Tue, 10 May 2011 01:49:42 +0000 (-0400) Subject: ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches X-Git-Tag: v3.0-rc1~140^2~37 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b8b7d353f5f9bea758398c3af679ffa105e5cfe;p=pandora-kernel.git ext4: teach ext4_mb_init_cache() to skip uptodate buddy caches After online resize which adds new groups, some of the groups in a buddy page may be initialized and uptodate, while other (new ones) may be uninitialized. The indication for init of new block groups is when ext4_mb_init_cache() is called with an uptodate buddy page. In this case, initialized groups on that buddy page must be skipped when initializing the buddy cache. Signed-off-by: Amir Goldstein Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed