From owner-cvs-all@FreeBSD.ORG Mon Jun 4 01:41:46 2007 Return-Path: X-Original-To: cvs-all@freebsd.org Delivered-To: cvs-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id ED69B16A46E; Mon, 4 Jun 2007 01:41:46 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (ns1.feral.com [192.67.166.1]) by mx1.freebsd.org (Postfix) with ESMTP id C236613C487; Mon, 4 Jun 2007 01:41:46 +0000 (UTC) (envelope-from mjacob@freebsd.org) Received: from ns1.feral.com (localhost [127.0.0.1]) by ns1.feral.com (8.14.1/8.14.1) with ESMTP id l541fcQG008263; Sun, 3 Jun 2007 18:41:46 -0700 (PDT) (envelope-from mjacob@freebsd.org) Received: from localhost (mjacob@localhost) by ns1.feral.com (8.14.1/8.14.1/Submit) with ESMTP id l541fcpM008260; Sun, 3 Jun 2007 18:41:38 -0700 (PDT) (envelope-from mjacob@freebsd.org) X-Authentication-Warning: ns1.feral.com: mjacob owned process doing -bs Date: Sun, 3 Jun 2007 18:41:38 -0700 (PDT) From: mjacob@freebsd.org To: Scott Long In-Reply-To: <200706032313.l53ND5qI055069@repoman.freebsd.org> Message-ID: <20070603184128.G8259@ns1.feral.com> References: <200706032313.l53ND5qI055069@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/mpt mpt.c mpt.h mpt_cam.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: mjacob@freebsd.org List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jun 2007 01:41:47 -0000 Awesome! Thanks1 On Sun, 3 Jun 2007, Scott Long wrote: > scottl 2007-06-03 23:13:05 UTC > > FreeBSD src repository > > Modified files: > sys/dev/mpt mpt.c mpt.h mpt_cam.c > Log: > mpt.c: > mpt.h: > Add support for reading extended configuration pages. > mpt_cam.c: > Do a top level topology scan on the SAS controller. If any SATA > device are discovered in this scan, send a passthrough FIS to set > the write cache. This is controllable through the following > tunable at boot: > > hw.mpt.enable_sata_wc: > -1 = Do not configure, use the controller default > 0 = Disable the write cache > 1 = Enable the write cache > > The default is -1. This tunable is just a hack and may be > deprecated in the future. > > Turning on the write cache alleviates the write performance problems with > SATA that many people have observed. It is not recommend for those who > value data reliability! I cannot stress this strongly enough. However, > it is useful in certain circumstances, and it brings the performence in line > with what a generic SATA controller running under the FreeBSD ATA driver > provides (and the ATA driver has had the WC enabled by default for years). > > Revision Changes Path > 1.42 +154 -29 src/sys/dev/mpt/mpt.c > 1.41 +55 -3 src/sys/dev/mpt/mpt.h > 1.57 +305 -0 src/sys/dev/mpt/mpt_cam.c >