summaryrefslogtreecommitdiffstats
path: root/fs/ocfs2/refcounttree.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2010-08-26 22:06:50 +0200
committerTao Ma <tao.ma@oracle.com>2010-09-08 08:25:56 +0200
commitb2b6ebf5f740e015b2155343958f067e594323ea (patch)
treec235f91c504cb95ce0b7b4a5c3cfed1df185eb88 /fs/ocfs2/refcounttree.c
parentocfs2: Use the right group in nfs sync check. (diff)
downloadlinux-b2b6ebf5f740e015b2155343958f067e594323ea.tar.xz
linux-b2b6ebf5f740e015b2155343958f067e594323ea.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions