W2000 Off Line Files

Hi everybody,
I am dealing with off line files for a while under W2000 and I am going to
give up with a problem I have.
I have a file filter, wich hooks several functions, one of these is CLEANUP.
Sometimes, at CLEANUP I need to
re-open the target file, wich I do using ZwCreateFile. The problem is that
the thread calling ZwCreateFile hangs,
but only if the file is a temporary file created for off-line file
management. Any other file goes fine.

Temporary files in off-line management are ordinary files, with names like
C000001. They are located
at WINNT\CSC directory. I cant see anything abnormal in these files but
actually my filter does not work well
when opening these kind of files.

My question is simple: anyone here has experienced some problems with off
line files in a file filter driver ?

Any clue will be wellcome.

Inaki.

> the thread calling ZwCreateFile hangs,

but only if the file is a temporary file created for off-line file
management. Any other file goes fine.

My idea:

  • IO manager sends CLEANUP for this offline file while holding a handle
    table lock. This leads to deadlock in ZwCreateFile.

Max