diff options
author | Mark Fasheh <mfasheh@suse.com> | 2010-08-26 22:06:50 +0200 |
---|---|---|
committer | Tao Ma <tao.ma@oracle.com> | 2010-09-08 08:25:56 +0200 |
commit | b2b6ebf5f740e015b2155343958f067e594323ea (patch) | |
tree | c235f91c504cb95ce0b7b4a5c3cfed1df185eb88 /fs/ocfs2/refcounttree.c | |
parent | ocfs2: Use the right group in nfs sync check. (diff) | |
download | linux-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