Subject: CVS commit: src/sys/dev/ata
To: None <source-changes@NetBSD.org>
From: Charles M. Hannum <mycroft@netbsd.org>
List: source-changes
Date: 06/01/2004 20:53:04
Module Name: src
Committed By: mycroft
Date: Tue Jun 1 20:53:03 UTC 2004
Modified Files:
src/sys/dev/ata: wd.c
Log Message:
Fix an extremely obvious bug in the handling of the bad block list: the "max"
block was being set 512x further out than it should be, causing rather severe
escalation of the error.
XXX WTF is the point of this shit, anyway? In most cases, the way you're
supposed to fix a bad block on an ATA disk is to rewrite it -- which will
either just transparently fix it, or spare it. This code actively prevents
that.
To generate a diff of this commit:
cvs rdiff -r1.277 -r1.278 src/sys/dev/ata/wd.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.