Re: [PATCH] ext4: restart ext4_ext_remove_space() after transaction restart V2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Dmitry Monakhov
Date: Wednesday, May 26, 2010 - 10:22 am

On Wed, May 26, 2010 at 6:47 PM,  <tytso@mit.edu> wrote:
I've added statistic counters to truncate code and found that each
4'th rm_leaf() result in
actual transaction restart, and number of truncate/get_block races is
less than 0.001 from total
restart number and may be neglected.  So simplified version perform
false restart for each 4'th truncate.
But fairly to say what this is still invisible in terms of total truncate time.
Do we care about performance in truncate? IMHO it is not the hottest
path so it is possible to end up with
simplified version.

--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] ext4: restart ext4_ext_remove_space() after tr ..., Dmitry Monakhov, (Wed May 26, 10:22 am)