</ul>
</div>
+<div class="slide">
+ <h1>File-private locking [3.15]</h1>
+ <ul class="incremental">
+ <li>
+ POSIX says that closing a file descriptor removes
+ the <em>process</em>'s locks on that file
+ </li>
+ <li>
+ What if process has multiple file descriptors for the same
+ file? It loses all locks obtained through any descriptor!
+ </li>
+ <li>
+ Multithreaded processes may require serialisation around
+ file open/close to ensure they open each file exactly once
+ </li>
+ <li>
+ Hard and symbolic links can hide that two files are really the
+ same
+ </li>
+ <li>
+ Linux now provides file-private locks, associated with a
+ specific open file and removed when last descriptor for the
+ open file is closed
+ </li>
+ </ul>
+</div>
+
<div class="slide">
<h1>Questions?</h1>
</div>