svn commit: r220576 - head/sys/dev/ahci
Alexander Motin
mav at FreeBSD.org
Tue Apr 12 21:02:45 UTC 2011
Dmitry Morozovsky wrote:
> 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?
In 1-2 weeks if everything is fine.
--
Alexander Motin
More information about the svn-src-all
mailing list