Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Oct 2002 12:08:45 -0700
From:      Terry Lambert <tlambert2@mindspring.com>
To:        Poul-Henning Kamp <phk@critter.freebsd.dk>
Cc:        Maxim Sobolev <sobomax@FreeBSD.ORG>, hackers@FreeBSD.ORG, dillon@FreeBSD.ORG
Subject:   Re: Patch to allow a driver to report unrecoverable write errors to the  buf layer
Message-ID:  <3DB1ADBD.3D65B120@mindspring.com>
References:  <28472.1035014051@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
Poul-Henning Kamp wrote:
> Yes, I noticed that appeared at some time.  That misfeature should be
> removed in toto.
> 
> If a retry can solve the issue, it's the drivers responsibility to
> retry as much as makes sense and then fail if it doesn't work.
> 
> Neither the buf nor the bio layer should get involved in those
> retries.
> 
> If you really want to change the behaviour here, you should add a flag
> on the buf going down, saying "Never, ever retry".

How do you tell the disk not to automatically retry, resulting
in bad sector sparing, using this approach?

Media perfection happens at all layers in the I/O subsystem,
not just at the very bottom or the very top.

-- Terry

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




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