From owner-freebsd-fs Thu Sep 21 13:47:42 2000 Delivered-To: freebsd-fs@freebsd.org Received: from feral.com (feral.com [192.67.166.1]) by hub.freebsd.org (Postfix) with ESMTP id 1AFD737B423; Thu, 21 Sep 2000 13:47:37 -0700 (PDT) Received: from zeppo.feral.com (IDENT:mjacob@zeppo [192.67.166.71]) by feral.com (8.9.3/8.9.3) with ESMTP id NAA09886; Thu, 21 Sep 2000 13:41:02 -0700 Date: Thu, 21 Sep 2000 13:37:46 -0700 (PDT) From: Matthew Jacob Reply-To: mjacob@feral.com To: Terry Lambert Cc: Marius Bendiksen , Stephen Byan , "'Soren Schmidt'" , fs@FreeBSD.ORG, sos@FreeBSD.ORG, freeBSD-scsi@FreeBSD.ORG Subject: Re: disable write caching with softupdates? In-Reply-To: <200009212032.NAA15839@usr08.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-fs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Really, the OS needs to know the cache strategy of the drive, and > follow the same strategy itself, to reduce the number of drive to > OS transactions, and to remove the problem of the drive having to > go back to the well for a subsequent read, if the cache contents > are effectively discarded. It's simple enough- at least with SCSI. If you enable write cacheing, you should then allow for the filesystem to issue an ioctl that can use the SYNCHRONIZE CACHE command to provide the commit point. There are also flavors of readns and writes that can affect cache retention policies for certain blocks. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-fs" in the body of the message