From f5b0c784d2ce219cef7a772f4ae3dfb53b7ddca8 Mon Sep 17 00:00:00 2001 From: Joel Becker Date: Fri, 26 Mar 2010 10:10:08 +0800 Subject: [PATCH] --- yaml --- r: 195758 b: refs/heads/master c: 95ec0adf0b56d6a3f0ca1ec87173311898486b2e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/fs/ocfs2/suballoc.c | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index d376e13097ff..cd35460a942a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 8b06bc592ebc5a31e8d0b9c2ab17c6e78dde1f86 +refs/heads/master: 95ec0adf0b56d6a3f0ca1ec87173311898486b2e diff --git a/trunk/fs/ocfs2/suballoc.c b/trunk/fs/ocfs2/suballoc.c index e5403acdb3f5..5852a46647a2 100644 --- a/trunk/fs/ocfs2/suballoc.c +++ b/trunk/fs/ocfs2/suballoc.c @@ -606,6 +606,14 @@ ocfs2_block_group_alloc_discontig(handle_t *handle, goto bail; } + /* + * We're going to be grabbing from multiple cluster groups. + * We don't have enough credits to relink them all, and the + * cluster groups will be staying in cache for the duration of + * this operation. + */ + ac->ac_allow_chain_relink = 0; + /* Claim the first region */ status = ocfs2_block_group_claim_bits(osb, handle, ac, min_bits, &bit_off, &num_bits);