summaryrefslogtreecommitdiffstats
path: root/block
diff options
context:
space:
mode:
authorAllison Henderson <achender@linux.vnet.ibm.com>2011-07-17 23:17:02 -0400
committerTheodore Ts'o <tytso@mit.edu>2011-07-17 23:17:02 -0400
commitf7d0d3797fac6cad24ad9f86dd9baf65c586b434 (patch)
tree73ae5f70c194399f9c8273d6681e7534400ffdc0 /block
parent3eb08658431abd65c0fe6855d1860859c2d416f7 (diff)
downloadlinux-f7d0d3797fac6cad24ad9f86dd9baf65c586b434.tar.gz
linux-f7d0d3797fac6cad24ad9f86dd9baf65c586b434.tar.bz2
linux-f7d0d3797fac6cad24ad9f86dd9baf65c586b434.zip
ext4: punch hole optimizations: skip un-needed extent lookup
This patch optimizes the punch hole operation by skipping the tree walking code that is used by truncate. Since punch hole is done through map blocks, the path to the extent is already known in this function, so we do not need to look it up again. Signed-off-by: Allison Henderson <achender@linux.vnet.ibm.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions