Mark Fasheh b2b6ebf5f7 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>
2010-09-08 14:25:56 +08:00
..
2009-10-28 23:05:57 -07:00
2010-08-09 16:47:29 -04:00
2009-09-22 20:09:36 -07:00
2010-09-08 14:25:53 +08:00
2009-07-21 15:47:55 -07:00
2009-04-03 11:39:16 -07:00
2009-10-28 23:05:57 -07:00
2010-05-05 18:17:30 -07:00
2010-05-05 18:18:07 -07:00
2010-05-05 18:17:30 -07:00
2010-05-21 18:31:20 -04:00