Hello people,
I am developing a FS minifilter in which i need to read the contents of the
file on receiving IRP_MJ_WRITE.
I am able to perform the read operation in all cases except when TopLevelIrp
!= NULL.
After consulting some people, i got one method to overcome this problem. And
that was to read from the disk directly. That is, get the specific cluster
and read it.
Is this the only solution to this problem?
Is there any other solution that anyone would like to propose?

Can i build a Paging I/O read and then send it? Will that work?

Re: Reading a file in paging I/O path by David

David
Sun Sep 02 01:57:09 PDT 2007

Most of the filesystems folks read this newsgroup, but it is not a group
which supports filesystems. Try OSR.

--
David J. Craig
Engineer, Sr. Staff Software Systems
Broadcom Corporation


"Tushar" <Tushar@discussions.microsoft.com> wrote in message
news:216F657D-A0DB-4B43-875F-387ACB729170@microsoft.com...
> Hello people,
> I am developing a FS minifilter in which i need to read the contents of
> the
> file on receiving IRP_MJ_WRITE.
> I am able to perform the read operation in all cases except when
> TopLevelIrp
> != NULL.
> After consulting some people, i got one method to overcome this problem.
> And
> that was to read from the disk directly. That is, get the specific cluster
> and read it.
> Is this the only solution to this problem?
> Is there any other solution that anyone would like to propose?
>
> Can i build a Paging I/O read and then send it? Will that work?