diff options
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | 2008-10-09 07:13:30 +0400 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2008-10-09 07:13:30 +0400 |
commit | 79f0be8d2e6ebde27dfb3beff18eb689d5c4e36c (patch) | |
tree | 7ddadff1a3f0f4f6814104aed42f20c52a7f5f24 /fs/ext4/balloc.c | |
parent | 6bc6e63fcd7dac9e633ea29f1fddd9580ab28f3f (diff) | |
download | linux-79f0be8d2e6ebde27dfb3beff18eb689d5c4e36c.tar.xz |
ext4: Switch to non delalloc mode when we are low on free blocks count.
The delayed allocation code allocates blocks during writepages(), which
can not handle block allocation failures. To deal with this, we switch
away from delayed allocation mode when we are running low on free
blocks. This also allows us to avoid needing to reserve a large number
of meta-data blocks in case all of the requested blocks are
discontiguous.
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao <cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/balloc.c')
0 files changed, 0 insertions, 0 deletions