[Ocfs2-devel] [PATCH] ocfs2: properly set and use inode group alloc hint

Tao Ma tao.ma at oracle.com
Sun Aug 29 23:15:49 PDT 2010



On 08/27/2010 04:06 AM, Mark Fasheh wrote:
> 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.
>
> Signed-off-by: Mark Fasheh<mfasheh at suse.com>
> Tested-by: Goldwyn Rodrigues<rgoldwyn at suse.de>
Acked-by: Tao Ma <tao.ma at oracle.com>



More information about the Ocfs2-devel mailing list