diff options
author | Lachlan McIlroy <lachlan@sgi.com> | 2008-06-27 13:32:53 +1000 |
---|---|---|
committer | Niv Sardi <xaiki@debian.org> | 2008-07-28 16:59:10 +1000 |
commit | 4ddd8bb1d25f9cbb345e1f64a56c0f641a787ede (patch) | |
tree | 297e8fa754cbd910450ff76a9058a2ac6cd07b39 /arch/ia64/ia32/ia32_ldt.c | |
parent | e182f57ac019b034b40d16f3c6d8e86826aecd56 (diff) |
[XFS] use minleft when allocating in xfs_bmbt_split()
The bmap btree split code relies on a previous data extent allocation
(from xfs_bmap_btalloc()) to find an AG that has sufficient space to
perform a full btree split, when inserting the extent. When converting
unwritten extents we don't allocate a data extent so a btree split will be
the first allocation. In this case we need to set minleft so the allocator
will pick an AG that has space to complete the split(s).
SGI-PV: 983338
SGI-Modid: xfs-linux-melb:xfs-kern:31357a
Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Signed-off-by: David Chinner <dgc@sgi.com>
Diffstat (limited to 'arch/ia64/ia32/ia32_ldt.c')
0 files changed, 0 insertions, 0 deletions