commit | 3977c965ec35ce1a7eac988ad313f0fc9aee9660 | [log] [tgz] |
---|---|---|
author | Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com> | Thu Apr 17 10:38:59 2008 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Thu Apr 17 10:38:59 2008 -0400 |
tree | 86c799189a7888d6ebd02f9394fd0c2bd4eb2317 | |
parent | 093a088b76352e0a6fdca84eb78b3aa65fbe6dd1 [diff] |
ext4: zero out small extents when writing to prealloc area. If the preallocated area is small zero out the full extent instead of splitting them. This should avoid the "write every alternate block" problem that could grow the number of extents dramatically. 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>