Re: JFFS3 & performance

Artem B. Bityuckiy
2004-12-22T16:17:00Z

On Wed, 22 Dec 2004, [iso-8859-1] Jörn Engel wrote:

> On Wed, 22 December 2004 15:56:23 +0000, Artem B. Bityuckiy wrote:
> >
> > Preliminarily I'm planning:
> > 1. Use adler32 on headers
> > 2. Leave crc32 on data
>
> Why keep crc32?
This is just my IMHO: headers are small and the probability that serious
error appear there is lower that the probability of error on data. So it
seems we may reduce crc strength for them.

In case of data - I just not sure if it is correct to use weaker
algorithm...
If somebody compitent may soundly explain why we may reduce CRC strength
there...

Anyway, saing zlib not to add adler32 CRC is good idea and I think should
be done.

> Jörn
>
> --
> Debugging is twice as hard as writing the code in the first place.
> Therefore, if you write the code as cleverly as possible, you are,
> by definition, not smart enough to debug it.
> -- Brian W. Kernighan
>

--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.