Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Mark Lord
Date: Wednesday, January 31, 2007 - 10:57 am

Alan wrote:

One way to tell if this is true, is simply to time how long
the failed operation takes.  If the drive truly does not do retries,
then the media error should be reported more or less instantly
(assuming drive was already spun up).

If the failure takes more than a few hundred milliseconds to be reported,
or in this case 4-7 seconds typically, then we know the drive was doing
retries before it reported back.

I haven't seen any drive fail instantly yet.
Can anyone with those newfangled "RAID edition" drives try it
and report back?  Oh.. you'll need a way to create a bad sector.
I've got patches and a command-line utility for the job.

If your drive supports "WRITE UNCORRECTABLE" ("hdparm -I", w/latest hdparm),
then the patches aren't needed.

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Tue Jan 30, 6:41 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Tue Jan 30, 8:20 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Tue Jan 30, 9:21 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Douglas Gilbert, (Tue Jan 30, 10:09 pm)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Jeff Garzik, (Wed Jan 31, 2:30 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Wed Jan 31, 7:36 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 8:08 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 8:13 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 8:22 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Wed Jan 31, 8:24 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Douglas Gilbert, (Wed Jan 31, 8:28 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 8:38 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Ric Wheeler, (Wed Jan 31, 9:35 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 10:57 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, James Bottomley, (Wed Jan 31, 11:13 am)
Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR, Mark Lord, (Wed Jan 31, 11:37 am)