public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: "Jörn Engel" <joern@lazybastard.org>
To: Joakim Tjernlund <joakim.tjernlund@transmode.se>
Cc: linux-mtd@lists.infradead.org, David Woodhouse <dwmw2@infradead.org>
Subject: Re: JFFS2 OOPS in 2.6.20
Date: Fri, 9 Mar 2007 14:11:45 +0100	[thread overview]
Message-ID: <20070309131144.GC4897@lazybastard.org> (raw)
In-Reply-To: <1173437780.26465.47.camel@gentoo-jocke.transmode.se>

On Fri, 9 March 2007 11:56:20 +0100, Joakim Tjernlund wrote:
> 
> Yeah, but I figured that changing seed was less intrusive. Not 
> sure how good Alder32 is but if we make an incompatible change we
> could change it to something else than crc32. We should measure if 
> how much faster Adler32 is first though.
> 
> You think such a change is worthwhile?

Last time we discussed this, crc32 looked better.  It may be a bit
slower (not much, iirc), but it will catch _all_ 1-bit, 2-bit and 3-bit
errors and has a 1:2^32 change of missing n-bit errors with n>3.

Adler, if memory serves, can only guarantee all 1-bit errors and a
1:2^30 or so chance for n-bit errors, if the buffer is long enough.
"Long enough" is ~1000 bytes.  Below that, chances of getting false
positives are getting higher.

You can check the archives for this.  It might have been 2004 as well.

Jörn

-- 
There are two ways of constructing a software design: one way is to make
it so simple that there are obviously no deficiencies, and the other is
to make it so complicated that there are no obvious deficiencies.
-- C. A. R. Hoare

      reply	other threads:[~2007-03-09 13:15 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-08 17:14 JFFS2 OOPS in 2.6.20 Joakim Tjernlund
2007-03-08 17:33 ` Joakim Tjernlund
2007-03-08 17:44   ` Joakim Tjernlund
2007-03-08 18:37     ` David Woodhouse
2007-03-08 18:46       ` Artem Bityutskiy
2007-03-08 18:51       ` David Woodhouse
2007-03-09  9:02       ` Joakim Tjernlund
2007-03-09  9:23         ` David Woodhouse
2007-03-09 10:46           ` Joakim Tjernlund
2007-03-09 11:08             ` David Woodhouse
2007-03-09 11:15             ` Joakim Tjernlund
2007-03-09 11:24               ` David Woodhouse
2007-03-09 12:01                 ` Joakim Tjernlund
2007-03-09 13:54               ` Joakim Tjernlund
2007-03-09 14:49                 ` Joakim Tjernlund
2007-03-10 16:08                   ` Joakim Tjernlund
2007-03-09  9:36         ` Joakim Tjernlund
2007-03-09  9:46           ` David Woodhouse
2007-03-09 10:56             ` Joakim Tjernlund
2007-03-09 13:11               ` Jörn Engel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070309131144.GC4897@lazybastard.org \
    --to=joern@lazybastard.org \
    --cc=dwmw2@infradead.org \
    --cc=joakim.tjernlund@transmode.se \
    --cc=linux-mtd@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox