From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bob Copeland Subject: Re: [PATCH 6/7] omfs: add checksumming routines Date: Thu, 27 Mar 2008 08:24:04 -0400 Message-ID: <20080327122404.GB10265@hash.localnet> References: <1206578760-9050-6-git-send-email-me@bobcopeland.com> <1206580921.24940.8.camel@brick> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org To: Harvey Harrison Return-path: Received: from mail.deathmatch.net ([70.167.247.36]:43586 "EHLO mail.deathmatch.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756903AbYC0MYK (ORCPT ); Thu, 27 Mar 2008 08:24:10 -0400 Content-Disposition: inline In-Reply-To: <1206580921.24940.8.camel@brick> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Wed, Mar 26, 2008 at 06:22:01PM -0700, Harvey Harrison wrote: > > +/* > > + * crc-ccitt with MSB first (i.e., backwards), so we can't use the > > + * kernel table as-is. > > + */ > > Why not just add a be-bitwise table, similar to the crc32_le and > crc32_be implementation. Yeah, that is probably a better idea. I didn't do it before since this lived outside the tree and I didn't want to patch the kernel. Will that add 1k for everyone? -- Bob Copeland %% www.bobcopeland.com