We realized late that we could optimize the punch hole code by skipping ext4_ext_remove_space, and directly calling ext4_ext_rm_leaf. Since punch hole is done through map blocks, the path to the extent is already known, so we do not need to look it up again. The extra parameter that was added in ext4_ext_remove_space is removed since we no longer need it. Allison Henderson (2): EXT4: Punch Hole Optimizations: Skip un-needed extent lookup EXT4: Punch Hole Optimizations: Removed un-needed ext4_ext_remove_space param fs/ext4/extents.c | 30 ++++++++++++++++++++++++------ 1 files changed, 24 insertions(+), 6 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html