From: Allison Henderson Date: Mon, 18 Jul 2011 03:17:02 +0000 (-0400) Subject: ext4: punch hole optimizations: skip un-needed extent lookup X-Git-Tag: v3.1-rc1~90^2~32 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7d0d3797fac6cad24ad9f86dd9baf65c586b434;p=pandora-kernel.git 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 Signed-off-by: "Theodore Ts'o" --- Reading git-diff-tree failed