IRP_SYNCHRONOUS_API

While sending my allocated IRP (IRP_MJ_QUERY_INFORMATION) from FSFD to FSD is it necessary to set irp->Flags = IRP_SYNCHRONOUS_API ?

While sitting above NTFS and passing some set and query information
requests, if you do not set this flag NTFS fails to drop the volume lock
under some conditions. Then the next request issued, what ever it is,
against this same volume will hang. Not sure if this is by design or a bug
but now I just set the sync flag.

Pete

Kernel Drivers
Windows Filesystem and Device Driver Consulting
www.KernelDrivers.com
(303)546-0300


From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mani
Sent: Friday, May 20, 2005 8:57 AM
To: Windows File Systems Devs Interest List
Subject: [ntfsd] IRP_SYNCHRONOUS_API

While sending my allocated IRP (IRP_MJ_QUERY_INFORMATION) from FSFD to FSD
is it necessary to set irp->Flags = IRP_SYNCHRONOUS_API ?


Questions? First check the IFS FAQ at
https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com

The flag will influence the IoIsOperationSynchronous macro in the lower FSD paths, and will reduce the chances that your IRP will be pended. Possibly to zero (i.e. possibly such an IRP will never be pended by the FSD).

Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
xxxxx@storagecraft.com
http://www.storagecraft.com
----- Original Message -----
From: Mani
Newsgroups: ntfsd
To: Windows File Systems Devs Interest List
Sent: Friday, May 20, 2005 6:57 PM
Subject: [ntfsd] IRP_SYNCHRONOUS_API

While sending my allocated IRP (IRP_MJ_QUERY_INFORMATION) from FSFD to FSD is it necessary to set irp->Flags = IRP_SYNCHRONOUS_API ?

Questions? First check the IFS FAQ at https://www.osronline.com/article.cfm?id=17

You are currently subscribed to ntfsd as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com