Commit abae5f95 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 547ca215
...@@ -421,7 +421,7 @@ package main ...@@ -421,7 +421,7 @@ package main
// RLock by read // RLock by read
// ... // ...
// //
// zheadMu.W | zheadMu.R + bfdir.fileMu // zheadMu.W | zheadMu.R + BigFileDir.fileMu
// //
// WatchLink.byfileMu > Watch.mu // WatchLink.byfileMu > Watch.mu
// BigFile.watchMu > Watch.mu // BigFile.watchMu > Watch.mu
...@@ -525,12 +525,12 @@ type BigFileDir struct { ...@@ -525,12 +525,12 @@ type BigFileDir struct {
head *Head // parent head/ or @<rev>/ head *Head // parent head/ or @<rev>/
// {} oid -> <bigfileX> // {} oid -> <bigfileX>
fileMu sync.Mutex // zheadMu.W | zheadMu.R + fileMu 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
// (used only for head/, not revX/) // (used only for head/, not revX/)
δFmu sync.RWMutex // zheadMu.W | zheadMu.R + δFmu.X δFmu sync.RWMutex // zheadMu.W | zheadMu.R + δFmu.X
δFtail *ΔFtail δFtail *ΔFtail
} }
......
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