projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Implement multi-threaded request processing and locking for NFS.
[bluesky.git]
/
bluesky
/
bluesky.h
diff --git
a/bluesky/bluesky.h
b/bluesky/bluesky.h
index
201cc17
..
6324ce2
100644
(file)
--- a/
bluesky/bluesky.h
+++ b/
bluesky/bluesky.h
@@
-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.
* 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;
* */
typedef struct {
GMutex *lock;