From owner-freebsd-hackers Wed Feb 26 19:20:54 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA28408 for hackers-outgoing; Wed, 26 Feb 1997 19:20:54 -0800 (PST) Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2]) by freefall.freebsd.org (8.8.5/8.8.5) with SMTP id TAA28396 for ; Wed, 26 Feb 1997 19:20:50 -0800 (PST) Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02) id AA12920; Wed, 26 Feb 1997 22:20:03 -0500 Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Wed, 26 Feb 1997 22:20 EST Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.3/8.7.3) with ESMTP id UAA01051 for ; Wed, 26 Feb 1997 20:35:55 -0500 (EST) Received: (from root@localhost) by lakes.water.net (8.8.3/8.6.9) id UAA24345 for freebsd-hackers@freefall.cdrom.com; Wed, 26 Feb 1997 20:41:13 -0500 (EST) Date: Wed, 26 Feb 1997 20:41:13 -0500 (EST) From: Thomas David Rivers Message-Id: <199702270141.UAA24345@lakes.water.net> To: ponds!freefall.cdrom.com!freebsd-hackers Subject: disksort (bad dir/dup alloc research) Content-Type: text Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk While researching the dup alloc/bad dir problem; I thought perhaps disksort() was loosing something (which would explain why newfs thinks it's written 0's and no 0's appear on the disk.) I noticed that in 2.0, disksort() works (mostly) on cylinder values, but in 2.0.5 and later this was rewritten to simply use the pblkno [physical block number] field. Just glancing through disksort(), I didn't see anything that would have caused a I/O to "go missing" - but I plan on adding some printf's just to make sure... [The reason for this is, I believe, my research indicates that, sometimes, I/O does seem to "go missing."] - Dave Rivers -