IoBuildSynchronousFsdRequest returning NULL

hi All,
i am newbie to file system development.

i am writing a file system driver, and having a problem while reading
the device in IRP_MJ_READ. i have created a file stream object for the
target device and, i am using CcCopyRead to read from the same. in my
IRP_MJ_READ handler i use IoBuildSynchronousFsdRequest to create irps and
send them to the target device. IoBuildSynchronousFsdRequest works for
some x number of irps and then stops generating any more. it returns null.
Strange thing is why it works for x number of times and then completely
stops working.
As per the ddk docs, i am not supposed to do any cleanup associated
with the irps created using IoBuildSynchronousFsdRequest. io manager does
all of the cleanup, so what else i need to take care that such problem
does not occur.

thanks in advance
kjo

Do you have driver verifier running with “low resource simulation?”

-----Original Message-----
From: kjo [mailto:xxxxx@yahoo.com]
Sent: Monday, August 05, 2002 1:51 AM
To: File Systems Developers
Subject: [ntfsd] IoBuildSynchronousFsdRequest returning NULL

hi All,
i am newbie to file system development.

i am writing a file system driver, and having a problem while reading
the device in IRP_MJ_READ. i have created a file stream object for the
target device and, i am using CcCopyRead to read from the same. in my
IRP_MJ_READ handler i use IoBuildSynchronousFsdRequest to create irps and
send them to the target device. IoBuildSynchronousFsdRequest works for
some x number of irps and then stops generating any more. it returns null.
Strange thing is why it works for x number of times and then completely
stops working.
As per the ddk docs, i am not supposed to do any cleanup associated
with the irps created using IoBuildSynchronousFsdRequest. io manager does
all of the cleanup, so what else i need to take care that such problem
does not occur.

thanks in advance
kjo


You are currently subscribed to ntfsd as: xxxxx@inin.com
To unsubscribe send a blank email to %%email.unsub%%

no. Driver verifier is not running.

thanks
-Kiran
— “Fuller, Rob” wrote:
> Do you have driver verifier running with “low
> resource simulation?”
>
> -----Original Message-----
> From: kjo [mailto:xxxxx@yahoo.com]
> Sent: Monday, August 05, 2002 1:51 AM
> To: File Systems Developers
> Subject: [ntfsd] IoBuildSynchronousFsdRequest
> returning NULL
>
>
> hi All,
> i am newbie to file system development.
>
> i am writing a file system driver, and having a
> problem while reading
> the device in IRP_MJ_READ. i have created a file
> stream object for the
> target device and, i am using CcCopyRead to read
> from the same. in my
> IRP_MJ_READ handler i use
> IoBuildSynchronousFsdRequest to create irps and
> send them to the target device.
> IoBuildSynchronousFsdRequest works for
> some x number of irps and then stops generating any
> more. it returns null.
> Strange thing is why it works for x number of times
> and then completely
> stops working.
> As per the ddk docs, i am not supposed to do any
> cleanup associated
> with the irps created using
> IoBuildSynchronousFsdRequest. io manager does
> all of the cleanup, so what else i need to take care
> that such problem
> does not occur.
>
> thanks in advance
> kjo
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@inin.com
> To unsubscribe send a blank email to %%email.unsub%%
>
>
> —
> You are currently subscribed to ntfsd as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
%%email.unsub%%

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com