commit | 197217a5af79c23609da03eda2a52ee8603eec52 | [log] [tgz] |
---|---|---|
author | Yongqiang Yang <xiaoqiangnk@gmail.com> | Tue May 03 11:45:29 2011 -0400 |
committer | Theodore Ts'o <tytso@mit.edu> | Tue May 03 11:45:29 2011 -0400 |
tree | df05721599f21c46fb4879ec3195431dd9a45804 | |
parent | df5e6223407e3e645065c4bd968fee007f0e0287 [diff] |
ext4: add a function merging extents right and left 1) Rename ext4_ext_try_to_merge() to ext4_ext_try_to_merge_right(). 2) Add a new function ext4_ext_try_to_merge() which tries to merge an extent both left and right. 3) Use the new function in ext4_ext_convert_unwritten_endio() and ext4_ext_insert_extent(). Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Tested-by: Allison Henderson <achender@linux.vnet.ibm.com>