Perhaps you have a caching SCSI controller, in that case disabling the
Windows write cache wouldn't actually help with surprise removal.
The controller is not caching type. Even if it were, that is no
problem at all because the miniport would set CachesData=TRUE and
Windows would send SRB_FUNCTION_FLUSH whenever it wishes to
synchronously commit all data from the adapter cache to the media.
The problem with "Optimize for performance" is some stuff never gets
written to the disk until shutdown. Users cannot be expected to go
through the safely remove hardware wizard so when the user pulls the
disk out it is in a bad state. Isn't that what "Optimize for quick
removal" is for? Removable disk drives on USB get "Optimize for quick
removal" automatically. I need to find a way to achieve this same
default for SCSI. I don't know where to begin. Is it a change needed
in the miniport itself? An INF file is needed for the disk? A filter
driver?
Well, surprise removal on USB drives doesn't work either, in XP you can get
data corruption really easily. Vista includes a fix (and also automatically
runs chkdsk on any drive that was surprise removed in XP).
--PA
"Ben Voigt [C++ MVP]" <r...@nospam.nospam> wrote in message
news:uf8MsRLm...@TK2MSFTNGP06.phx.gbl...
Regards,
V Nay
ViVE Systems
http://www.vivesystems.com