From owner-svn-src-all@FreeBSD.ORG Tue Apr 12 21:06:08 2011 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F17D91065670; Tue, 12 Apr 2011 21:06:08 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.freebsd.org (Postfix) with ESMTP id 73F328FC0C; Tue, 12 Apr 2011 21:06:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.4/8.14.4) with ESMTP id p3CKsF4Z080473; Wed, 13 Apr 2011 00:54:15 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 13 Apr 2011 00:54:15 +0400 (MSD) From: Dmitry Morozovsky To: Alexander Motin In-Reply-To: <201104122050.p3CKovnp035266@svn.freebsd.org> Message-ID: References: <201104122050.p3CKovnp035266@svn.freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (woozle.rinet.ru [0.0.0.0]); Wed, 13 Apr 2011 00:54:15 +0400 (MSD) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r220576 - head/sys/dev/ahci X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Apr 2011 21:06:09 -0000 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@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------