From owner-freebsd-fs Thu Sep 21 11: 8:57 2000 Delivered-To: freebsd-fs@freebsd.org Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (Postfix) with ESMTP id 4601A37B422 for ; Thu, 21 Sep 2000 11:08:55 -0700 (PDT) Received: (from smap@localhost) by whistle.com (8.10.0/8.10.0) id e8LI7PI12398; Thu, 21 Sep 2000 11:07:25 -0700 (PDT) Received: from bubba.whistle.com( 207.76.205.7) by whistle.com via smap (V2.0) id xma012395; Thu, 21 Sep 2000 11:07:10 -0700 Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id LAA17698; Thu, 21 Sep 2000 11:07:09 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200009211807.LAA17698@bubba.whistle.com> Subject: Re: disable write caching with softupdates? In-Reply-To: <200009211807.UAA37597@freebsd.dk> "from Soren Schmidt at Sep 21, 2000 08:07:55 pm" To: Soren Schmidt Date: Thu, 21 Sep 2000 11:07:09 -0700 (PDT) Cc: mbendiks@eunet.no, terry@lambert.org, fs@freebsd.org X-Mailer: ELM [version 2.4ME+ PL82 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Soren Schmidt writes: > > > > > The ATA drives Whistle is using, which is what I'm assuming > > > > > Archie is on about, do _not_ support this facility. As far > > > > > as I can tell, there wre some SCSI drives manufactured by > > > > > IBM at one time which could do this, and some lab drives at > > > > > Quantum (also SCSI). > > > > Hmm, well, lets disable this then, there is no need to complicate > > > > things :) > > > > > > Please make this conditional, as people with non-crippled hardware might > > > want to employ the write cache. A sysctl or build option would be best. > > > > Yep, that was what I was originally suggesting. > > > > Soren do you want me to try to come up with a patch? > > I don't claim to understand IDE technology.. can you > > just send the disable command at any time or is it > > more complicated than that? > > This will do it, or rather leave it as the disk default which > should be disabled... Thanks.. I was talking about a sysctl patch, where you could turn write caching on or off at any time while the system is running via sysctl. Is it even possible to do that? -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message