From owner-svn-src-head@FreeBSD.ORG Thu Apr 7 21:25:40 2011 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 1233) id 6F7F31065673; Thu, 7 Apr 2011 21:25:40 +0000 (UTC) Date: Thu, 7 Apr 2011 21:25:40 +0000 From: Alexander Best To: Garrett Cooper Message-ID: <20110407212540.GB17091@freebsd.org> References: <201104070817.p378HrHc033571@svn.freebsd.org> <20110407190318.GA97508@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Cc: svn-src-head@freebsd.org, Alexander Motin , src-committers@freebsd.org, svn-src-all@freebsd.org Subject: Re: svn commit: r220412 - in head: share/man/man4 sys/cam/ata X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Apr 2011 21:25:40 -0000 On Thu Apr 7 11, Garrett Cooper wrote: > On Thu, Apr 7, 2011 at 12:03 PM, Alexander Best wrote: > > On Thu Apr  7 11, Alexander Motin wrote: > >> Author: mav > >> Date: Thu Apr  7 08:17:53 2011 > >> New Revision: 220412 > >> URL: http://svn.freebsd.org/changeset/base/220412 > >> > >> Log: > >>   Make ada(4) driver to control device write cache, same as ata(4) does. > >>   Add kern.cam.ada.write_cache sysctl/tunable to control it alike hw.ata.wc. > > > > how hard would it be to support per device sysctls/tunables? i'd really like to > > do: > > > > kern.cam.ada.0.write_cache=0 (root fs) > > kern.cam.ada.1.write_cache=1 (/usr, /var, etc.) > > Does it really make sense to turn on write caching for one drive and > not the other(s)? i think so. for "/" i want maximum safebelts. so i'd like to disable the write cache and mount it with the "sync" option. for /usr/ and all the other mount points i'd like maximum speed with write caching enabled and mounted with the "noasync" and "noatime" options. cheers. alex > Thanks, > -Garrett -- a13x