diff options
author | Mingming Cao <cmm@us.ibm.com> | 2006-03-26 04:37:57 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-26 11:57:01 -0500 |
commit | b54e41ec17ae91dce174eb5a3515e7af4a440d42 (patch) | |
tree | aa98a38e05188b204950eb0756fb792675951b0d /fs/ext3/ialloc.c | |
parent | b47b24781c59565f45acd765dc995a752d561e96 (diff) |
[PATCH] ext3_get_blocks: support multiple blocks allocation in ext3_new_block()
Change ext3_try_to_allocate() (called via ext3_new_blocks()) to try to
allocate the requested number of blocks on a best effort basis: After
allocated the first block, it will always attempt to allocate the next few(up
to the requested size and not beyond the reservation window) adjacent blocks
at the same time.
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ext3/ialloc.c')
0 files changed, 0 insertions, 0 deletions