Implement multi-threaded request processing and locking for NFS.
[bluesky.git] / bluesky / bluesky.h
index 201cc17..6324ce2 100644 (file)
@@ -121,6 +121,10 @@ bluesky_time_hires bluesky_now_hires();
  *     dropping from the cache.
  *   - Any pending operations should hold extra references to the inode as
  *     appropriate to keep it available until the operation completes.
+ *   - Locking dependency order is, when multiple locks are to be acquired, to
+ *     acquire locks on parents in the filesystem tree before children.
+ *     (TODO: What about rename when we acquire locks in unrelated parts of the
+ *     filesystem?)
  * */
 typedef struct {
     GMutex *lock;