A JFFS2 optimization related to syslog

David Woodhouse dwmw2 at infradead.org
Sat May 13 23:22:46 EDT 2006


On Wed, 2006-04-19 at 14:55 +0200, Jörn Engel wrote:
> 
> Too complicated, imo.  The patch writes a pristine node, if
> 1) node is last node of page,
> 2) node is last node of file,
> 3) other nodes exist in the same eraseblock.
> 
> Condition 1 makes sense.  2 can be argued about.  Maybe a benchmark or
> two can show whether it makes sense or not.  3 is fairly complicated
> and I fail to see what it buys us.  If the other fragments are in
> seperate eraseblocks, why shouldn't we write out a pristine node?

Fair enough. I've committed a (cosmetic) variant of Ferenc's original
patch then.

-- 
dwmw2





More information about the linux-mtd mailing list