提交 95ec0adf 编写于 作者: J Joel Becker 提交者: Tao Ma

ocfs2: Don't relink cluster groups when allocating discontig block groups

We don't have enough credits, and the filesystem is in a full state
anyway.
Signed-off-by: NJoel Becker <joel.becker@oracle.com>
上级 8b06bc59
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册