You should check for the presence of the IRP_PAGING_IO flag in
pIrp->Flags. If this flag is set for read/write I/O, you cannot send
down file query requests or you may deadlock the system.
- Nick Ryan
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of sxw
Sent: Wednesday, June 25, 2003 8:35 AM
To: File Systems Developers
Subject: [ntfsd] Why: IoQueryFileInformation hangs read thread?
Hi All,
I use IoQueryFileInformation to get the file information during
IRP_MJ_READ, after this function is called, the IoCallNextDriver may
hang.
For test purpose, I create a read routine which will skip current stack
location and call the next driver, if the IoQueryFileInformation is not
added before the IoCallNextDriver, everything is ok. If
IoQueryFileInformation is added before the IoCallNextDriver, the call to
IoCallNextDriver may not return. Why?
How can I check the file information during the READ/WRITE operation,
building an IRP_MJ_QUERxxx?
Thanks,
sxw
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com —
You are currently subscribed to ntfsd as: xxxxx@nryan.com
To unsubscribe send a blank email to xxxxx@lists.osr.com