From owner-cvs-all Mon Jan 29 18:14: 9 2001 Delivered-To: cvs-all@freebsd.org Received: from mobile.wemm.org (c1315225-a.plstn1.sfba.home.com [65.0.135.147]) by hub.freebsd.org (Postfix) with ESMTP id 7DC1937B698; Mon, 29 Jan 2001 18:13:42 -0800 (PST) Received: from netplex.com.au (localhost [127.0.0.1]) by mobile.wemm.org (8.11.1/8.11.1) with ESMTP id f0U2DY459123; Mon, 29 Jan 2001 18:13:34 -0800 (PST) (envelope-from peter@netplex.com.au) Message-Id: <200101300213.f0U2DY459123@mobile.wemm.org> X-Mailer: exmh version 2.2 06/23/2000 with nmh-1.0.4 To: Soren Schmidt Cc: msmith@FreeBSD.org (Mike Smith), mjacob@feral.com, sos@FreeBSD.org ([?X-UNKNOWN?]), cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/dev/ata ata-disk.c In-Reply-To: <200101291920.UAA74925@freebsd.dk> Content-Transfer-Encoding: 8bit Date: Mon, 29 Jan 2001 18:13:34 -0800 From: Peter Wemm Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Soren Schmidt wrote: > It seems Mike Smith wrote: > > > It seems Matthew Jacob wrote: > > > > > > > > Can we have this as a command line settable option (e.g., a hint)? > > > > > > Later, I need to figure out if I can turn this into a sysctl, but it > > > depends on all drives accepting the write strategy to be changed > > > on the fly... So for now this is an option... > > > > Er, it should be a tunable with a default (if it's system-wide), or it > > should be a hint. Stuff like this should *never* be an option. > > I do not agree on that one.. > > However, when I get to making the access modes tuneable I'll add this > one too, if you need it before that, please send me a patch and I'll > integrate that into the WIP version here... I had a sysctl to turn it on/off globally for all drives. I never got around to making it per-drive. A stale, very old version is at: http://people.freebsd.org/~peter/wce.diff Replicating the hw.atamodes dma/pio thing is probably the ticket though. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message