Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Sep 2000 13:37:46 -0700 (PDT)
From:      Matthew Jacob <mjacob@feral.com>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        Marius Bendiksen <mbendiks@eunet.no>, Stephen Byan <Stephen.Byan@quantum.com>, "'Soren Schmidt'" <sos@freebsd.dk>, fs@FreeBSD.ORG, sos@FreeBSD.ORG, freeBSD-scsi@FreeBSD.ORG
Subject:   Re: disable write caching with softupdates?
Message-ID:  <Pine.LNX.4.21.0009211333120.4857-100000@zeppo.feral.com>
In-Reply-To: <200009212032.NAA15839@usr08.primenet.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.LNX.4.21.0009211333120.4857-100000>