Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 195758
b: refs/heads/master
c: 95ec0ad
h: refs/heads/master
v: v3
  • Loading branch information
Joel Becker authored and Tao Ma committed Mar 26, 2010
1 parent 27b8b1e commit f5b0c78
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8b06bc592ebc5a31e8d0b9c2ab17c6e78dde1f86
refs/heads/master: 95ec0adf0b56d6a3f0ca1ec87173311898486b2e
8 changes: 8 additions & 0 deletions trunk/fs/ocfs2/suballoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit f5b0c78

Please sign in to comment.