Mapping Win32 locks to POSIX
-
POSIX lock layer attempts to map given 64 bit unsigned lock onto signed (64 or 32, depending on filesystem) bit POSIX lock.
- If no POSIX mapping possible - discard the request (return True - POSIX app can't get to this range anyway).
- Locks that pass are then stored in a second, lower level tdb that contains full record of all existent POSIX locks on a dev/inode pair.
- This is needed as POSIX kernel will lose information when locks are overlapped.
Notes:
No notes for slide 19