Re: RFC: ATA to CAM integration patch (INTEL DX58SO)

From: Edward Tomasz Napierala <trasz_at_FreeBSD.org>
Date: Tue, 7 Jul 2009 14:49:56 +0200
On 0707T1312, Andriy Gapon wrote:
> >> Still the box does a panic when writing to the disk that has bad
> >> sectors on it. (I do newfs it between reboots).   Again, not sure if
> >> this is a "well, dont use a bad disk", but here is the panic again in
> >> case it shows something useful.
> >>
> > 
> > This is a 'don't use a bad disk' panic; FreeBSD UFS and VM simply can't
> > handle errors on reads or writes.
> 
> I think that this is not generally true, especially about reads.
> And wasn't there a FreeBSD Foundation sponsored project to fix panics caused by
> media going away? I think that panics on I/O errors are related to that.

Device going away is slightly different case, but I believe it shouldn't
be generally true, except for filesystems with softupdates enabled.  For
the most part, softupdates don't even try to handle I/O errors - they
just panic (e.g. "panic: softdep_move_dependencies: need merge code").

-- 
If you cut off my head, what would I say?  Me and my head, or me and my body?
Received on Tue Jul 07 2009 - 11:08:13 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:51 UTC