Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Default disk to "Optimize for quick removal"

1 view
Skip to first unread message

sven.k...@gmail.com

unread,
Apr 3, 2008, 5:24:47 AM4/3/08
to
I have a SCSI attached removable disk drive. In the XP device manager
Policies tab, the options are grayed out and "Optimize for
performance" is selected. Is there a way to default the drive to
"Optimize for quick removal" instead?

Ben Voigt [C++ MVP]

unread,
Apr 3, 2008, 10:07:24 AM4/3/08
to

Perhaps you have a caching SCSI controller, in that case disabling the
Windows write cache wouldn't actually help with surprise removal.


sven.k...@gmail.com

unread,
Apr 4, 2008, 12:02:06 AM4/4/08
to
> 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?

Ben Voigt [C++ MVP]

unread,
Apr 7, 2008, 9:39:53 AM4/7/08
to

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


Pavel A.

unread,
Apr 7, 2008, 3:30:51 PM4/7/08
to
Recently an usb disk corruption on Vista sp1 after successful safe removal
has been reported in .vista.hardware_devices.
So it seems that the story will be continued.

--PA


"Ben Voigt [C++ MVP]" <r...@nospam.nospam> wrote in message
news:uf8MsRLm...@TK2MSFTNGP06.phx.gbl...

sven.k...@gmail.com

unread,
Apr 28, 2008, 6:02:17 AM4/28/08
to
I found a good solution that achieves this goal. Thanks all for the
help.

V

unread,
Jun 13, 2008, 5:05:03 PM6/13/08
to
Would be nice if you shared your findings :-)

Regards,
V Nay
ViVE Systems
http://www.vivesystems.com

0 new messages