Subject: Re: test of new powerdown facility
To: Dave Huang <khym@bga.com>
From: Erik E. Fair <fair@clock.org>
List: tech-kern
Date: 06/09/1998 12:10:37
At 11:14 -0700 6/9/98, Dave Huang wrote:
>On Tue, 9 Jun 1998, Jason Thorpe wrote:
>> So, if there is indeed a "commit to stable storage" SCSI command, it should
>> be very straight-forward to implement such a shutdown hook.  Any takers?
>>:-)
>
>I think the SYNCHRONIZE CACHE command will do what you want... opcode
>0x35...

The other issue here might simply be a failure of the kernel to wait long
enough for I/O to complete.

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...

	Erik <fair@clock.org>