From owner-svn-src-all@FreeBSD.ORG Sun Oct 24 17:03:23 2010 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 3F6E8106566C; Sun, 24 Oct 2010 17:03:23 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f54.google.com (mail-fx0-f54.google.com [209.85.161.54]) by mx1.freebsd.org (Postfix) with ESMTP id 676188FC13; Sun, 24 Oct 2010 17:03:21 +0000 (UTC) Received: by fxm17 with SMTP id 17so2179951fxm.13 for ; Sun, 24 Oct 2010 10:03:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=mCIztr/xowHskuQsaz9rG/AXkbudb6MEwChNz7qITpI=; b=jDvkYfB56w5X0z2HcTIjWJOK+FX/3WWC5rwbLh6khhUwufk30YHKTsnoYOvbxYW8Sm aMbx3JvFVlgPgUi6DEd4JUMMtvAob6v4u4oPAx+cX68clTm9LsWcyO8GBEPa1i1GbA9H CwQDolM9ar6i3k62hXuwiTH2ryjHRZaMOkc8I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=Y8lkaTw/cRjULrnssFzNmCzsIqVM1mc4uYYuRgc/4egyrGl9EY9UG01T7Aqr0j9P3i SfUFrzwql57n69hKTXrT5UnWpdGq3Kx891Zai+2+4F51lkiPDbqLhg7FP2Jd9vCuXDWJ 8/7Ymvk275ALiKASQWNYhGxp0A5laJy6E/9vY= Received: by 10.103.192.8 with SMTP id u8mr6771297mup.20.1287939801167; Sun, 24 Oct 2010 10:03:21 -0700 (PDT) Received: from mavbook2.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id n8sm2443619faa.7.2010.10.24.10.03.18 (version=SSLv3 cipher=RC4-MD5); Sun, 24 Oct 2010 10:03:19 -0700 (PDT) Sender: Alexander Motin Message-ID: <4CC466D5.6080306@FreeBSD.org> Date: Sun, 24 Oct 2010 20:03:17 +0300 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Bruce Cran References: <201010241631.o9OGVw1C033817@svn.freebsd.org> <201010241735.32876.bruce@cran.org.uk> In-Reply-To: <201010241735.32876.bruce@cran.org.uk> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r214279 - in head: share/man/man4 sys/cam sys/cam/ata sys/kern 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: Sun, 24 Oct 2010 17:03:23 -0000 Bruce Cran wrote: > On Sunday 24 October 2010 17:31:58 Bruce Cran wrote: > >> Log: >> Mostly revert r203420, and add similar functionality into ada(4) since >> the existing code caused problems with some SCSI controllers. Proper way would be IMHO to fix polling in aac driver. >> A new sysctl kern.cam.ada.spindown_shutdown has been added that controls >> whether or not to spin-down disks when shutting down. >> Spinning down the disks unloads/parks the heads - this is >> much better than removing power when the disk is still >> spinning because otherwise an Emergency Unload occurs which may cause >> damage to the actuator. > > The FLUSH CACHE + STANDBY IMMEDIATE commands are issued (instead of just > SLEEP) following the procedure documented in Fujitsu's MHW series product > documentation under section 1.10.1, "Recommended power-off sequence". Not instead of "just SLEEP", but instead of FLUSH CACHE (by respective peripheral driver) + SLEEP (by xpt). It should probably be the same. Just for the note, SCSI specification states that STOP automatically implies FLUSH CACHE. ATA - doesn't. -- Alexander Motin