FILE_COMPLETE_IF_OPLOCKED in IFS doc:
Complete this operation immediately with an alternate success code “if the
target file is
oplocked”, rather than blocking the caller’s thread.
now how to find “if the target file is oplocked”?
FILE_COMPLETE_IF_OPLOCKED in IFS doc:
Complete this operation immediately with an alternate success code “if the
target file is
oplocked”, rather than blocking the caller’s thread.
now how to find “if the target file is oplocked”?
If the file is oplocked, the thread that called may need to execute an
APC to process the oplock break on the file. Since you’ve probably
blocked APCs (FsRtlEnterFileSystem) this can’t happen so you need to
return a special code so the caller can execute the APC and finish the
oplock break.
If that’s the case, when you call FsRtlCheckOplock it will return an
appropriate status code (STATUS_OPLOCK_BREAK_IN_PROGRESS).
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
Looking forward to seeing you at the next OSR File Systems class in
Boston, MA April 18-21, 2006.
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Mani
Sent: Tuesday, March 21, 2006 3:55 AM
To: ntfsd redirect
Subject: [ntfsd] What is FILE_COMPLETE_IF_OPLOCKED
FILE_COMPLETE_IF_OPLOCKED in IFS doc:
Complete this operation immediately with an alternate success code “if
the
target file is
oplocked”, rather than blocking the caller’s thread.
now how to find “if the target file is oplocked”?
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