Hi,
I am writting a file system filter dirver. I hope to pass throught all IRP generated
by lazy writer. I think knowing the ID of lazy writer thread is necessary to achieve this.
I search in deja.com, Mr Maxim S. Shatskih suggest to use CcInitializeCacheMap.
I also referenced the FASTFAT source codes, but still don’t know how to do this.
Any suggestions?
Thank you very much.
Chen
I’m not quite sure but I think that lazy write may have a pool of threads.
Or perhaps it uses some of threads from system thread pool (worker threads).
You may use IoGetTopLevelIrp to see if it’s a lazy writer request.
-htfv
----- Original Message -----
From: “Zm Chen”
To: “File Systems Developers”
Sent: Thursday, May 29, 2003 12:00 PM
Subject: [ntfsd] How to get lazy writer thread ID
> Hi,
>
> I am writting a file system filter dirver. I hope to pass throught all IRP
generated
> by lazy writer. I think knowing the ID of lazy writer thread is necessary
to achieve this.
>
> I search in deja.com, Mr Maxim S. Shatskih suggest to use
CcInitializeCacheMap.
> I also referenced the FASTFAT source codes, but still don’t know how to do
this.
>
> Any suggestions?
>
> Thank you very much.
>
> Chen
>
>
>
>
>
> —
> You are currently subscribed to ntfsd as: xxxxx@vba.com.by
> To unsubscribe send a blank email to xxxxx@lists.osr.com:8001
>