ChangeNotify and timed locks
- ChangeNotify is a problem as it is resource intensive.
- Similar to FAM on IRIX ((kernel interface)- this is now available on Linux.
- For portability reasons, Samba currently does a periodic scan, with no depth.
- Produces a hash of the directory contents and checks this in the idle loop [smbd/nttrans.c].
- Timed locks are implemented by all lock requests being instantaneously checked with the request packet being queued until a check succeeds in the idle loop (or timeout) [smbd/blocking.c].
Notes:
No notes for slide 21