Re: hdc: dma_intr: status=0x51 { DriveReady SeekComplete Error }

Jens Axboe (axboe@suse.de)
Thu, 27 Dec 2001 17:51:05 +0100


On Thu, Dec 27 2001, Alan Cox wrote:
> > retries belong at the low level, once you pass up info of failure to the
> > upper layers it's fatal. time for FS to shut down.
>
> Thats definitely not the case. Just because your file system is too dumb to
> use the information please don't assume everyone elses isnt - in fact one
> of the side properties of Daniel Phillips stuff is that it should be able
> to sanely handle a bad block problem.

That's ok too, the fs can do whatever it wants in case of I/O failure.
It's not up to the fs to reissue failed requests, _that's_ stupid.

> EVMS, MD, multipath all need to know about and do their own bad block
> handling. If the block driver knows how to recover stuff then great it
> can recover it, but we should ensure its possible for the fs internals
> to recover and work around a bad block.

Need to know, fine I'm not arguing with that. I don't want to hide
information from anyone.

> > Irk, software managed bad block remapping is horrible.
>
> IBM have it working, so however horrible doesn't matter that much, someone
> has done the work for you.

Then it must be The Right Thing.

I've written a block driver that handles (or wants to) bad block
remapping too, which just made me even more sure that this is definitely
a hw issue.

-- 
Jens Axboe

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/