summaryrefslogtreecommitdiff
path: root/fs/logfs/journal.c
diff options
context:
space:
mode:
authorMark Fasheh <mfasheh@suse.com>2010-08-26 20:06:50 (GMT)
committerTao Ma <tao.ma@oracle.com>2010-09-08 06:25:56 (GMT)
commitb2b6ebf5f740e015b2155343958f067e594323ea (patch)
treec235f91c504cb95ce0b7b4a5c3cfed1df185eb88 /fs/logfs/journal.c
parent889f004a8c83d515f275078687f859bc0d5ede9d (diff)
downloadlinux-fsl-qoriq-b2b6ebf5f740e015b2155343958f067e594323ea.tar.xz
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 'fs/logfs/journal.c')
0 files changed, 0 insertions, 0 deletions