ftlreadfile in IRP_MJ_READ

Hi,

Just got the question if I try to complete everything in PRE (like in IRP_MJ_READ and call fltreadfile in pre) and then after function call I do what I supposed to do in post then would the thread is still in “passive level” after fltreadfile? I think it shouldn’t be but not sure. can I have the explanations for the same.

Thanks & Regards

Aishwary Bhashkar
R Systems International Ltd.

This sounds like a violation to me. If I get you right you call FltReadFile
synchronously during IRP_MJ_READ.

The docs say “The DispatchRead and/or DispatchWrite routines…should not be
dependent on any blocking calls”. But you do block, don’t you?

wrote news:xxxxx@ntfsd…
> Hi,
>
> Just got the question if I try to complete everything in PRE (like in
> IRP_MJ_READ and call fltreadfile in pre) and then after function call I do
> what I supposed to do in post then would the thread is still in “passive
> level” after fltreadfile? I think it shouldn’t be but not sure. can I
> have the explanations for the same.
>
> Thanks & Regards
>
> Aishwary Bhashkar
> R Systems International Ltd.
>

Hi,
well I just taken the senario. I was thinking on what will happen if somebody tries to do FltPerformSynchronousIo in Pre and then after returning from that call he tries to do the operation what he should ideally do in post. Will the thread will always be in “Passive_level”.

Thanks & Regards

Aishwary Bhashkar
R Systems International Ltd.