HP CIFS File Locking Interoperation

47
B.4 Mandatory Share Mode (Open Mode) Enhancement
CIFS/9000 has been enhanced to translate Windows Mandatory Share Mode (Open Mode)
locks into UNIX Byte-Range locks using the fcntl function. The resulting Byte-Range locks
will interoperate in the KLM with NFS Byte-Range locks, and data integrity will be provided
for concurrent CIFS/NFS cross platform file access when the advisory locking protocol is
adhered to. This is the most useful locking feature for providing additional data integrity for
HP’s customers that will be accessing a common file set from Windows and NFS clients.
CIFS/NFS Open Mode Locking
NewHP-UX AR 0901
Samba
Samba Internal
Locking
Mechanism
NLM
Network Lock
Manager
KLM
Kernel Lock
Manager
User space
Kernel space Kernel space
User space
HP-UX 11
JFS 3.3 File System
CIFS NFS
Open Mode Lock Byte Range Lock
Translate Open Mode Locks
to Byte Range Locks!
Byte Range Lock