svn commit: r220576 - head/sys/dev/ahci

Dmitry Morozovsky marck at rinet.ru
Tue Apr 12 21:06:09 UTC 2011


On Tue, 12 Apr 2011, Alexander Motin wrote:

AM> Author: mav
AM> Date: Tue Apr 12 20:50:57 2011
AM> New Revision: 220576
AM> URL: http://svn.freebsd.org/changeset/base/220576
AM> 
AM> Log:
AM>   Refactor hard-reset implementation in ahci(4).
AM>   
AM>   Instead of spinning in a tight loop for up to 15 seconds, polling for device
AM>   readiness while it spins up, return reset completion just after PHY reports
AM>   "connect well" or 100ms connection timeout. If device was found, use callout
AM>   for checking device readiness with 100ms period up to full 31 second timeout.
AM>   
AM>   This fixes system freeze for 5-10 seconds on drives hot plug-in.

Great, thank you!

Any plans to MFC this?

-- 
Sincerely,
D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer:                                 marck at FreeBSD.org ]
------------------------------------------------------------------------
*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck at rinet.ru ***
------------------------------------------------------------------------


More information about the svn-src-head mailing list