linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] EXT4: Punch Hole Opmtimizations
@ 2011-06-27 22:49 Allison Henderson
  2011-06-27 22:49 ` [PATCH 1/2] EXT4: Punch Hole Optimizations: Skip un-needed extent lookup Allison Henderson
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Allison Henderson @ 2011-06-27 22:49 UTC (permalink / raw)
  To: linux-ext4; +Cc: Allison Henderson

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(-)


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-07-18  3:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-27 22:49 [PATCH 0/2] EXT4: Punch Hole Opmtimizations Allison Henderson
2011-06-27 22:49 ` [PATCH 1/2] EXT4: Punch Hole Optimizations: Skip un-needed extent lookup Allison Henderson
2011-07-18  3:22   ` Ted Ts'o
2011-06-27 22:49 ` [PATCH 2/2] EXT4: Punch Hole Optimizations: Removed un-needed ext4_ext_remove_space param Allison Henderson
2011-07-18  3:23   ` Ted Ts'o
2011-06-27 23:36 ` [PATCH 0/2] EXT4: Punch Hole Opmtimizations Allison Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).