Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2003 16:50:18 -0500
From:      Barney Wolff <barney@pit.databus.com>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        Bruce Campbell <bruce@engmail.uwaterloo.ca>, freebsd-hardware@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG
Subject:   Re: Followup to "fallback to PIO mode" on dual processor AMD systems
Message-ID:  <20030102215018.GA52185@pit.databus.com>
In-Reply-To: <20030103062516.F755-100000@gamplex.bde.org>
References:  <1041526384.3e146e708b8e4@www.nexusmail.uwaterloo.ca> <20030103062516.F755-100000@gamplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jan 03, 2003 at 06:36:29AM +1100, Bruce Evans wrote:
> 
> The fallback is clearly wrong because it turns isolated media errors
> into pessimized i/o for the whole disk at best, system hangs during
> resets next best, and system crashes at worst.  I keep a disk with bad
> media on line for testing some of this, and zap the fallback using the
> following patch (hope this is complete; it was edited from a larger
> patch).

Perhaps the right answer is to test uptime and do the fallback if the
error happens in the first minute, at least for permanently-mounted
disks.  In any case, retries in the current mode should be exhausted
first.

-- 
Barney Wolff         http://www.databus.com/bwresume.pdf
I'm available by contract or FT, in the NYC metro area or via the 'Net.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030102215018.GA52185>