From owner-freebsd-hackers Thu Sep 12 17:41:24 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3A51437B426; Thu, 12 Sep 2002 17:41:21 -0700 (PDT) Received: from hawk.mail.pas.earthlink.net (hawk.mail.pas.earthlink.net [207.217.120.22]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE93743E75; Thu, 12 Sep 2002 17:41:20 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from pool0015.cvx40-bradley.dialup.earthlink.net ([216.244.42.15] helo=mindspring.com) by hawk.mail.pas.earthlink.net with esmtp (Exim 3.33 #1) id 17peWN-0000Wm-00; Thu, 12 Sep 2002 17:41:19 -0700 Message-ID: <3D8133A2.4C4504E4@mindspring.com> Date: Thu, 12 Sep 2002 17:38:58 -0700 From: Terry Lambert X-Mailer: Mozilla 4.79 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Alexander Kabaev Cc: nork@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Subject: Re: filesytem bsize=64k causes libc/db hash crash References: <200209122022.g8CKM004040532@nd250009.gab.xdsl.ne.jp> <3D8113D9.CBF06664@mindspring.com> <20020912182637.51b99fd4.ak03@gte.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG No... it was a typo. I was too lazy to make it a manifest constant, because to do that, I would have had to hack db.h to change the 65536 to a 32768, and add another manifest constant in a different header for the hash code to use. Sorry. -- Terry Alexander Kabaev wrote: > > On Thu, 12 Sep 2002 15:23:21 -0700 > Terry Lambert wrote: > > > + if (b.psize > 32768) > > + b.psize = 32868; > > 32768 vs. 32868 intentional here? > > -- > Alexander Kabaev > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message