Commit 547ca215 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 0d679efa
...@@ -421,6 +421,8 @@ package main ...@@ -421,6 +421,8 @@ package main
// RLock by read // RLock by read
// ... // ...
// //
// zheadMu.W | zheadMu.R + bfdir.fileMu
//
// WatchLink.byfileMu > Watch.mu // WatchLink.byfileMu > Watch.mu
// BigFile.watchMu > Watch.mu // BigFile.watchMu > Watch.mu
...@@ -523,7 +525,7 @@ type BigFileDir struct { ...@@ -523,7 +525,7 @@ type BigFileDir struct {
head *Head // parent head/ or @<rev>/ head *Head // parent head/ or @<rev>/
// {} oid -> <bigfileX> // {} oid -> <bigfileX>
fileMu sync.Mutex // XXX doc zheadMu.W | ... ? fileMu sync.Mutex // zheadMu.W | zheadMu.R + fileMu
fileTab map[zodb.Oid]*BigFile fileTab map[zodb.Oid]*BigFile
// δ tail of tracked BTree nodes of all BigFiles + -> which file // δ tail of tracked BTree nodes of all BigFiles + -> which file
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment