Searched hist:"79 f0be8d2e6ebde27dfb3beff18eb689d5c4e36c" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/fs/ext4/ |
H A D | inode.c | diff 79f0be8d2e6ebde27dfb3beff18eb689d5c4e36c Wed Oct 08 22:13:30 CDT 2008 Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> 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>
|