From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 16 20:40:03 2010 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FD661065809; Tue, 16 Nov 2010 20:40:03 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [IPv6:2a01:348:0:15:5d59:5c40:0:1]) by mx1.freebsd.org (Postfix) with ESMTP id E9BC08FC26; Tue, 16 Nov 2010 20:40:02 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id 436F1E71F5; Tue, 16 Nov 2010 20:40:02 +0000 (GMT) Received: from unknown (client-86-27-19-226.glfd.adsl.virginmedia.com [86.27.19.226]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Tue, 16 Nov 2010 20:40:01 +0000 (GMT) Date: Tue, 16 Nov 2010 20:40:00 +0000 From: Bruce Cran To: Alexander Best Message-ID: <20101116204000.00005aea@unknown> In-Reply-To: <20101022100309.GA16446@freebsd.org> References: <201009161742.24228.tijl@coosemans.org> <201009161619.o8GGJAmv035378@lurza.secnetix.de> <20101018155944.GA12425@freebsd.org> <868w1r92rf.fsf@ds4.des.no> <20101021122110.GA65490@freebsd.org> <4CC156F5.1050109@FreeBSD.org> <20101022100309.GA16446@freebsd.org> X-Mailer: Claws Mail 3.7.6 (GTK+ 2.16.6; i586-pc-mingw32msvc) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Dag-Erling, Tijl Coosemans , Oliver Fromme , freebsd-hackers@freebsd.org, Alexander Motin , =?ISO-8859-1?Q?v?= Subject: Re: Summary: Re: Spin down HDD after disk sync or before power off X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Nov 2010 20:40:03 -0000 On Fri, 22 Oct 2010 10:03:09 +0000 Alexander Best wrote: > so how about olivers patch? it will only apply to ata devices so it's > garanteed not to break any other CAM devices (i'm thinking about the > aac controller issue). you could revert your previous shutdown work > and plug olivers patch into CAM. you might want to replace the > combination of flush/standby immediate with sleep. One problem with the code that's been committed is that the shutdown event handler doesn't get run during a suspend operation so an emergency unload still gets done when running "acpiconf -s3". -- Bruce Cran