aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/ext4.h
diff options
context:
space:
mode:
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>2008-10-08 23:13:30 -0400
committerTheodore Ts'o <tytso@mit.edu>2008-10-08 23:13:30 -0400
commit79f0be8d2e6ebde27dfb3beff18eb689d5c4e36c (patch)
tree7ddadff1a3f0f4f6814104aed42f20c52a7f5f24 /fs/ext4/ext4.h
parent6bc6e63fcd7dac9e633ea29f1fddd9580ab28f3f (diff)
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/ext4.h')
0 files changed, 0 insertions, 0 deletions