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: NYongqiang Yang <xiaoqiangnk@gmail.com> Tested-by: NAllison Henderson <achender@linux.vnet.ibm.com>
Showing
想要评论请 注册 或 登录