Under some circumstances, if a process has an exclusive oplock on a file and a second process attempts to open the file, the first process must invalidate cached data and flush writes and locks. The client must then relinquish the oplock and access to the file. If there is a network failure during this flush, cached write data might be lost.
Any application that has write-cached data can lose that data under the following set of circumstances:
The cache itself does not have any error handling--the applications do. When the application makes a write to the cache, the write is always completed. If the cache, in turn, makes a write to the target system over a network, it must assume that the write is completed because if it does not, the data is lost.
CIFS oplocks on your storage system are on by default.
You might turn CIFS oplocks off under either of the following circumstances:
Otherwise, you can leave CIFS oplocks on.
You can turn CIFS oplocks on or off at individual clients using a Windows registry setting. Turning CIFS oplocks on at the storage system does not override any client-specific settings. Turning CIFS oplocks off at the storage system disables all oplocks to or from the storage system.
Copyright © 1994-2005, Network Appliance, Inc. All rights
reserved.
Part No. 210-01086_B0
File: 3cifs43.htm
Last updated: 08-Dec-2005 13:19:35