FsRtl oplock related functions; any info?

I tried to find out info about undocumented (see a list below) FsRtlXXX
oplock related functions but could not find any info about them in
IFS-2003. Ideas where to find manual pages that explains what happens in
the fastfat example? I cant’t access the OSR-Online documentation server
(you wait 2 minutes or 2 hours, but the manual items do not show up).

Cheers,
Jari Ojala

FsRtlInitializeOplock
FsRtlUninitializeOplock
FsRtlOplockFsctrl
FsRtlCheckOplock
FsRtlOplockIsFastIoPossible
FsRtlCurrentBatchOplock

Jari,

Hopefully the initialize/uninitialize are reasonably obvious.
FsRtlOplockFsctrl is where an FSD passes oplock file system control IRPs
for further processing.

FsRtlCheckOplock is explained in article
http://www.osronline.com/article.cfm?article=223.

FsRtlOplockIsFastIoPossible is used in your FSD’s fast I/O check (the
one called from FsRtlCopyRead or FsRtlCopyWrite if you use these
routines). Essentially it checks to see if there are oplocks on the
file that will need to be broken because this will preclude fast I/O.

FsRtlCurrentBatchOplock checks to see if there are any batch oplocks
outstanding on the file at the time of the check. This can be important
when processing (for example) rename operations, where outstanding batch
oplocks must be broken.

I hope this helps.

Regards,

Tony

Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Jari Ojala
Sent: Friday, October 08, 2004 7:28 AM
To: ntfsd redirect
Subject: [ntfsd] FsRtl oplock related functions; any info?

I tried to find out info about undocumented (see a list below) FsRtlXXX
oplock related functions but could not find any info about them in
IFS-2003. Ideas where to find manual pages that explains what happens in

the fastfat example? I cant’t access the OSR-Online documentation server

(you wait 2 minutes or 2 hours, but the manual items do not show up).

Cheers,
Jari Ojala

FsRtlInitializeOplock
FsRtlUninitializeOplock
FsRtlOplockFsctrl
FsRtlCheckOplock
FsRtlOplockIsFastIoPossible
FsRtlCurrentBatchOplock


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

You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to xxxxx@lists.osr.com