reducing ATA retry count

From: Baurjan Ismagulov (ibr@ata.cs.hun.edu.tr)
Date: Wed May 21 2003 - 14:43:29 EST


Hello,

I've got an ATA hard disk with bad sectors. I want to read the good
sectors quickly, replacing the others with zeroes. However, when I'm
trying to read it sector by sector, reading each bad sector takes 20-150
s. Before diving into the code, I'd like to ask whether there is an
interface (like ioctl or /proc) to disable bus resets and re-reading
attempts if the first read operation fails.

Please cc to me, I'm not subscribed.

Thanks in advance,
Baurjan.
-
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/



This archive was generated by hypermail 2b29 : Fri May 23 2003 - 22:00:45 EST