Subject: Re: disks cache [was Re: test of new powerdown facility ]
To: Jason Thorpe <firstname.lastname@example.org>
From: Manuel Bouyer <email@example.com>
Date: 06/11/1998 12:17:20
On Jun 11, Jason Thorpe wrote
> On Thu, 11 Jun 1998 12:00:19 +0200
> Manuel Bouyer <firstname.lastname@example.org> wrote:
> More appropriately, "disable write cache on last close" and "enable
> write cache when device is opened for writing".
This means the write cache will be disabled after the filesystem
has flushed his datas. If disabling the cache doesn't flush it,
the problem remains.
> Also, if you panic, you won't unmount the file systems, so you won't
> get "last close". So, you _ALSO_ want a shutdown hook that disables
> the write cache at shutdown time (assuming that disabling the write
> cache has the effect of flushing it).
Well, I didn't see anything about this, but I hope it does.
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr