From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wproxy.gmail.com ([64.233.184.196]) by canuck.infradead.org with esmtp (Exim 4.42 #1 (Red Hat Linux)) id 1ChB07-0003ja-9r for linux-mtd@lists.infradead.org; Wed, 22 Dec 2004 13:14:20 -0500 Received: by wproxy.gmail.com with SMTP id 69so823wri for ; Wed, 22 Dec 2004 10:14:18 -0800 (PST) Message-ID: <1f9886eb0412221014256b83e6@mail.gmail.com> Date: Wed, 22 Dec 2004 12:14:18 -0600 From: xemc To: =?ISO-8859-1?Q?J=F6rn_Engel?= In-Reply-To: <20041222172637.GE9783@wohnheim.fh-wedel.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041222160942.GC9783@wohnheim.fh-wedel.de> <20041222172637.GE9783@wohnheim.fh-wedel.de> Cc: Linux MTD mailing list Subject: Re: JFFS3 & performance Reply-To: xemc List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > adler32 is strong agains 1bit errors: ... > adler32 is relatively strong against 2bit erros: ... > For higher level errors, adler32 should have the usual a-priori > chances of catching them. ... > Overall, it is not as good as crc32, but pretty close, esp. for long > data. I would entrust my personal data to it, provided that the > device in general is good enough and the first adler32 checksum > failure (ignoring power-failure during writes) results in a message to > discard the broken flash chips or something similar. Please forgive me if this is a naive question, but isn't this data also protected by ECC in the first place? (or is that just for NAND?) How strong is this ECC compared to CRC32 or Adler32? If the ECC can handle a few bit errors, then wouldn't a simple checksum handle the case where the file was completely corrupt or partially written? Please correct any wrong assumptions. Thanks, Mike