From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: From: erik quanstrom Date: Thu, 18 Jun 2009 12:45:58 -0400 To: 9fans@9fans.net In-Reply-To: <7d3530220906180930p575fcb4bk473decb7d1a89c27@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] fossil/venti falling down? Topicbox-Message-UUID: 0ce046da-ead5-11e9-9d60-3106f5b1d025 > It seems to only happen once per boot, but not necessarily when fossil > starts responding--I've seen it a couple hours after booting, which > the filesystem tends to go away at night. the failure is somewhere in blockWrite. since blockWrite calls diskWrite and diskWrite just queues up i/o to send to the disk, it's not possible to get i/o errors directly from blockWrite. there are two case that do return errors. one is if the block can't be locked. a runaway periodic function would make that more likely, since we don't wait for the lock. but it seems more likely in this case that some of fossil's data is corrupted since this started after the double-failure. see http://9fans.net/archive/2009/03/487 the other case is a funny dependency. there's a fprint there that's commented out. - erik