Quesions about diskperf.sys DDK sample

I am looking at the diskperf.sys and addfilter.exe samples in the DDK.

I noticed that the OS will sometimes require a reboot after installing
diskperf.sys as an upper filter on a disk volume. I can understand this for
the OS system volume. But, when I add a new hard drive and partition it
with Computer Manager then attach diskperf.sys to the new volume I am
prompted to reboot.

What is causing the requirement for this reboot?
Is there any way around it?

Thanks!

This occurs if PnP QUERY_REMOVE failed for a stack. To add a filter, PnP
must disassemble the stack and re-assemble it back.

If disasseble fails - you’re prompted for reboot. Usually this occurs due
to presense of the open files on the volume - including loaded binaries and
pagefile.

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com

----- Original Message -----
From: “Fred”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, May 11, 2005 8:42 PM
Subject: [ntdev] Quesions about diskperf.sys DDK sample

> I am looking at the diskperf.sys and addfilter.exe samples in the DDK.
>
> I noticed that the OS will sometimes require a reboot after installing
> diskperf.sys as an upper filter on a disk volume. I can understand this for
> the OS system volume. But, when I add a new hard drive and partition it
> with Computer Manager then attach diskperf.sys to the new volume I am
> prompted to reboot.
>
> What is causing the requirement for this reboot?
> Is there any way around it?
>
> Thanks!
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com