FltReleaseContext and Unloading a Mini Filter

I have found that if I don’t call FltReleaseContext enough times before my
MF the unload process hangs. Which I can understand but not expected. Isn’t
one of the ideas of having the Mini Filter manage these context so we could
get notified that we didn’t cleanup things like this when we unload rather
then hang?

It would be a nice test feature.

Ken

If you run with a DBG version of the Filter Manager, fltmgr.sys (which
should be in the kit you downloaded from the Beta Place website), it
does this check for you and will dump the list of leaked contexts to the
debugger screen.

Molly Brown
Microsoft Corporation

This posting is provided “AS IS” with no warranties and confers no
rights.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Friday, March 05, 2004 1:50 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FltReleaseContext and Unloading a Mini Filter

I have found that if I don’t call FltReleaseContext enough times before
my MF the unload process hangs. Which I can understand but not expected.
Isn’t one of the ideas of having the Mini Filter manage these context so
we could get notified that we didn’t cleanup things like this when we
unload rather then hang?

It would be a nice test feature.

Ken


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com

To unsubscribe send a blank email to xxxxx@lists.osr.com

Ken,

This hang is by design. We want you to get your context code right from
the beginning.

We are going to change the context leak detection code to be part of the
verifier so you don’t have to run a chk’d version of filter manager.

Neal Christiansen

Microsoft File System Filter Group Lead
This posting is provided “AS IS” with no warranties, and confers no
rights.

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Molly Brown
Sent: Monday, March 08, 2004 10:38 AM
To: Windows File Systems Devs Interest List
Subject: RE: [ntfsd] FltReleaseContext and Unloading a Mini Filter

If you run with a DBG version of the Filter Manager, fltmgr.sys (which
should be in the kit you downloaded from the Beta Place website), it
does this check for you and will dump the list of leaked contexts to the
debugger screen.

Molly Brown
Microsoft Corporation

This posting is provided “AS IS” with no warranties and confers no
rights.


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Ken Galipeau
Sent: Friday, March 05, 2004 1:50 PM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] FltReleaseContext and Unloading a Mini Filter

I have found that if I don’t call FltReleaseContext enough times before
my MF the unload process hangs. Which I can understand but not expected.
Isn’t one of the ideas of having the Mini Filter manage these context so
we could get notified that we didn’t cleanup things like this when we
unload rather then hang?

It would be a nice test feature.

Ken


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com

To unsubscribe send a blank email to xxxxx@lists.osr.com


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com