Oplocks only apply to the SERVER side of the connection, not the CLIENT side
of the connection (that is, oplocks are sent from SRV - the CIFS/SMB server
- to the file system. There’s no visibility into these in a filter sitting
on top of the redirector.)
Regards,
Tony
Tony Mason
Consulting Partner
OSR Open Systems Resources, Inc.
http://www.osr.com
-----Original Message-----
From: Peter Yao [mailto:xxxxx@hotmail.com]
Sent: Tuesday, November 20, 2001 6:22 PM
To: File Systems Developers
Subject: [ntfsd] Re: How to Disable Network Redirector File Caching in
win2000?
If you don’t apply oplocks on files, they wouldn’t be cached.
You are currently subscribed to ntfsd as: xxxxx@osr.com
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
Tony,sorry for my poor english.Below is my understand:
If the CIFS/SMB CLIENT does not demand any oplock when opening a file
across network,the RDBSS (Redirector buffered sub-system) will not cache
any data. It can’t be sure that the data is fresh,since the file is on
SERVER side and any other clients may change it at any time.
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
No, oplocks are the notion of RDR->SRV interaction and of SRV->server FS interaction, but surely not a notion of app->RDR
interaction.
NT’s filesystem APIs have no oplock support.
Max
----- Original Message -----
From: “Peter Yao”
To: “File Systems Developers”
Sent: Wednesday, November 21, 2001 11:28 PM
Subject: [ntfsd] Re: How to Disable Network Redirector File Caching in- win2000?
> Tony,sorry for my poor english.Below is my understand:
> If the CIFS/SMB CLIENT does not demand any oplock when opening a file
> across network,the RDBSS (Redirector buffered sub-system) will not cache
> any data. It can’t be sure that the data is fresh,since the file is on
> SERVER side and any other clients may change it at any time.
>
> —
> You are currently subscribed to ntfsd as: xxxxx@storagecraft.com
> To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com
>
—
You are currently subscribed to ntfsd as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntfsd-$subst(‘Recip.MemberIDChar’)@lists.osr.com