Messages in this thread |  | | Date | Wed, 31 Jan 2007 10:38:47 -0500 | From | Mark Lord <> | Subject | Re: [PATCH] scsi_lib.c: continue after MEDIUM_ERROR |
| |
Douglas Gilbert wrote: > > Ric, > Both ATA (ATA8-ACS) and SCSI (SBC-3) have recently added > command support to flag a block as "uncorrectable". There > is no need to send bad "long" data to it and suppress the > disk's automatic re-allocation logic.
That'll be useful in a couple of years, once drives that have it become more common. For now, though, we're hacking current drives using READ/WRITE LONG commands, with a corresponding patch to libata to allow for the longer "sector size" involved.
Having real bad sectors, exactly where we want them on the media, sure does make testing / fixing the EH mechanisms a lot more feasible.
Cheers
- 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/
|  |