Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wendelin.core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Joshua
wendelin.core
Commits
7a6f75f4
Commit
7a6f75f4
authored
Apr 17, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
6f5f8922
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
wcfs/wcfs.go
wcfs/wcfs.go
+5
-4
No files found.
wcfs/wcfs.go
View file @
7a6f75f4
...
...
@@ -353,7 +353,8 @@ package main
//
//
// XXX we delay recomputing δFtail.LastBlkRev(file, #blk, head) because
// just cheap revmax estimate can frequently result in all watches being skipped.
// using just cheap revmax estimate can frequently result in all watches
// being skipped.
//
// 7.2) for all registered client@at watchers of head/bigfile/file:
//
...
...
@@ -508,7 +509,7 @@ type BigFileDir struct {
fileMu
sync
.
Mutex
fileTab
map
[
zodb
.
Oid
]
*
BigFile
// δ 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/)
δFmu
sync
.
RWMutex
δFtail
*
ΔFtail
...
...
@@ -802,9 +803,9 @@ retry:
// XXX no indexMu lock needed because head is Locked
// XXX stub -> TODO full δbtree | update indexLooked itself
//fmt.Printf("\nbtreeChangev: %v\n", btreeChangev)
δ
f
:=
bfdir
.
δFtail
.
Update
(
δZ
)
δ
F
:=
bfdir
.
δFtail
.
Update
(
δZ
)
//fmt.Printf("xfiles: %v\n", xfiles)
for
file
,
δfile
:=
range
δ
f
.
Change
{
for
file
,
δfile
:=
range
δ
F
.
Change
{
// XXX use δfile blocks
_
=
δfile
finv
,
ok
:=
toinvalidate
[
file
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment