Re: RFC (patch below) Re: ide drive problem?

Andre Hedrick (andre@aslab.com)
Sat, 29 Sep 2001 13:37:03 -0700 (PDT)


Mark, you have a valid point but if they see this level of noise the
auto-dma-downgrade feature set exclusive to Linux will ramp down the max.
performance from init to a reasonable threshold. The object is to
stablize the transfer rates first and then maintain performance.

You know the song and dance my friend, if anyone does. Very few could
keep me in check, but you have managed quite well and I am impressed!

Cheers,

Andre Hedrick
CTO ASL, Inc.
Linux ATA Development
-----------------------------------------------------------------------------
ASL, Inc. Tel: (510) 857-0055 x103
38875 Cherry Street Fax: (510) 857-0010
Newark, CA 94560 Web: www.aslab.com

On Sat, 29 Sep 2001, Mark Hahn wrote:

> > This is an error that I am considering removing form the user's view.
> > For the very fact/reason you are pointing out; however, it becomse
> > more painful when performing error sorting.
>
> yes, most of the time, the warning scares people unnecessarily.
> but if the machine is seeing lots of CRC failures, there should
> definitely be some prominent messages. perhaps something simple
> like producing a warning if more than a few of recent IOs
> have had CRC problems:
>
> int crcState = 0;
>
> on successful IO:
> crcState >>= 1;
>
> on CRC failure:
> if (crcState)
> printk("dang, CRC failed on hda, see http://whatever");
> crcState = 1 << 10;
>
> so if >10 IOs succeed between CRC failures, there's no warning.
> (uh, I guess that would actually be 9, since presumably the retry
> would succeed...) keeping a global count of CRC failures would be
> kind of nice, too.
>
> regards, mark hahn.
>

-
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/