Subject: Re: test of new powerdown facility
To: Jason Thorpe <>
From: Chris G. Demetriou <>
List: tech-kern
Date: 06/09/1998 14:12:07
>  > This is not to say that a "SYNCHRONIZE CACHE" command sent to *all* disks
>  > at any halt or powerdown event (and maybe in sync(2)?) is not a good idea...
> I dunno about sync(2) ... there's not really a mechanism for the VFS code
> to do this...

Well, disk device drivers could implement a common "make sure you're
synced" ioctl, and the file system code could call it, or something...

However, as somebody (i forget who) already said: if the drives are
doing this, and you don't have them on a UPS, you might as well be
running all your file systems 'async' anyway.  It sounds like this is
a serious disk configuration(?) problem...