From: Mark Fasheh Date: Thu, 26 Aug 2010 20:06:50 +0000 (-0700) Subject: ocfs2: properly set and use inode group alloc hint X-Git-Tag: v2.6.36-rc4~68^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2b6ebf5f740e015b2155343958f067e594323ea;p=pandora-kernel.git ocfs2: properly set and use inode group alloc hint We were setting ac->ac_last_group in ocfs2_claim_suballoc_bits from res->sr_bg_blkno. Unfortunately, res->sr_bg_blkno is going to be zero under normal (non-fragmented) circumstances. The discontig block group patches effectively turned off that feature. Fix this by correctly calculating what the next group hint should be. Acked-by: Tao Ma Signed-off-by: Mark Fasheh Tested-by: Goldwyn Rodrigues Signed-off-by: Tao Ma --- Reading git-diff-tree failed