svn commit: r198486 - head/sys/dev/ata
mav at FreeBSD.org
Mon Oct 26 15:47:15 UTC 2009
Andriy Gapon wrote:
> on 26/10/2009 16:42 Alexey Dokuchaev said the following:
>> On Mon, Oct 26, 2009 at 11:20:15AM +0000, Alexander Motin wrote:
>>> Author: mav
>>> Date: Mon Oct 26 11:20:14 2009
>>> New Revision: 198486
>>> URL: http://svn.freebsd.org/changeset/base/198486
>>> Increase ATA command timeouts. Some drives need more then 5s to spin-up.
>> Can't it be factored out into a macro so one does not have to make a bunch
>> of those identical changes over several files shall it be required to
>> adjust timeout again some time in the future?
You are right, but I still hope to obsolete that code some time in the
> If this is to happen, then I'd like them to become sysctls too.
I think it is a bit excessive. System should work just out of the box
without such tunings. Timeout is a fatal condition that should not
happen within normal operation. The only reason to reduce it is faster
fault recovery. But if faults happen often enough to require tuning, you
should probably replace hardware.
More information about the svn-src-all