Searched hist:b2b6ebf5f740e015b2155343958f067e594323ea (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ocfs2/ |
H A D | suballoc.c | diff b2b6ebf5f740e015b2155343958f067e594323ea Thu Aug 26 15:06:50 CDT 2010 Mark Fasheh <mfasheh@suse.com> 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 <tao.ma@oracle.com> Signed-off-by: Mark Fasheh <mfasheh@suse.com> Tested-by: Goldwyn Rodrigues <rgoldwyn@suse.de> Signed-off-by: Tao Ma <tao.ma@oracle.com>
|