Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2001 18:13:34 -0800
From:      Peter Wemm <peter@netplex.com.au>
To:        Soren Schmidt <sos@freebsd.dk>
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 
Message-ID:  <200101300213.f0U2DY459123@mobile.wemm.org>
In-Reply-To: <200101291920.UAA74925@freebsd.dk> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200101300213.f0U2DY459123>