tuning ATA wait time

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dear maintainers and developers:

> 	/* Spec mandates to wait for ">= 2ms" before checking status
> 	 * after reset.  We wait 150ms, because that was the magic
> 	 * delay used for ATAPI devices in Hale Landis's ATADRVR, for
> 	 * the period of time between when the ATA command register is
> 	 * written, and then status is checked.  Because waiting for
> 	 * "a while" before checking status is fine, post SRST, we
> 	 * perform this magic delay here as well.
> 	 *
> 	 * Old drivers/ide uses the 2mS rule and then waits for ready.
> 	 */
> 	ATA_WAIT_AFTER_RESET	=  150,


if the spec mandates to wait for ">=2ms", set default wait time to
150ms is too much longer than spec. this comment was added 11 years ago
2008, does the issue still exist on modern SATA controller?

could we tuning this for better performance on driver load time?

BR.
Ning.





[Index of Archives]     [Linux Filesystems]     [Linux SCSI]     [Linux RAID]     [Git]     [Kernel Newbies]     [Linux Newbie]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Samba]     [Device Mapper]

  Powered by Linux