Subject: Re: soft updates Re: Summer of code ideas
To: Zbigniew Baniewski <zb@ispid.com.pl>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 04/08/2007 13:37:13
On Sun, Apr 08, 2007 at 03:09:30AM +0200, Zbigniew Baniewski wrote:
> On Sat, Apr 07, 2007 at 09:23:32PM +0200, Manuel Bouyer wrote:
> 
> > > > Did these users have their disk's write caches set to write-through
> > > > mode rather than write-back mode?  NetBSD doesn't do this by default,
> > > > you have to add code to /etc/rc.local.
> > > 
> > > What code? How one can change the mode?
> > 
> > dkctl wd0 setcache r
> 
> The above seems not just to change write policy, but switch the write cache
> off completely

No, it turns it from write-back to write-through. The hardware can't work
without a write cache (and ATA doesn't offer other modes anyway).

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la difference
--