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
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
Kirill Smelkov
wendelin.core
Commits
901e9fc1
Commit
901e9fc1
authored
Dec 24, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9f5d55fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
wcfs/wcfs.go
wcfs/wcfs.go
+6
-4
No files found.
wcfs/wcfs.go
View file @
901e9fc1
...
@@ -279,6 +279,8 @@ package main
...
@@ -279,6 +279,8 @@ package main
//
//
// 4.5) no invalidation messages are sent to wcfs clients at this point(*).
// 4.5) no invalidation messages are sent to wcfs clients at this point(*).
//
//
// XXX processing ZODB invalidations and serving reads are mutually exclusive.
//
// 5) after OS file cache was invalidated, we resync zhead to new database
// 5) after OS file cache was invalidated, we resync zhead to new database
// view corresponding to tid.
// view corresponding to tid.
//
//
...
@@ -318,13 +320,13 @@ package main
...
@@ -318,13 +320,13 @@ package main
// rev(blk) ≤ rev'(blk) rev'(blk) = min(^^^)
// rev(blk) ≤ rev'(blk) rev'(blk) = min(^^^)
//
//
//
//
// 7.2) for all client
/addr
@at mmappings of file/head/data:
// 7.2) for all client@at mmappings of file/head/data:
//
//
// - rev'(blk) ≤ at: -> do nothing
XXX || blk ∉ mapping
// - rev'(blk) ≤ at: -> do nothing
// - rev'(blk) > at:
// - rev'(blk) > at:
// - if blk ∈ mmapping.pinned -> do nothing
// - if blk ∈ mmapping.pinned -> do nothing
// - rev = max(δFtail.by(#blk) : _ ≤ at) || min(rev ∈ δFtail : rev ≤ at) || at
// - rev = max(δFtail.by(#blk) : _ ≤ at) || min(rev ∈ δFtail : rev ≤ at) || at
// - client.remmap(
addr[blk], file/
@rev/data)
// - client.remmap(
file, #blk,
@rev/data)
// - mmapping.pinned += blk
// - mmapping.pinned += blk
//
//
// remmapping is done synchronously via ptrace.
// remmapping is done synchronously via ptrace.
...
@@ -333,7 +335,7 @@ package main
...
@@ -333,7 +335,7 @@ package main
//
//
// in order to support remmapping for each file/head/data
// in order to support remmapping for each file/head/data
//
//
// [] of mmapping{client
/addr/
@at↑, pinned}
// [] of mmapping{client@at↑, pinned}
//
//
// is maintained.
// is maintained.
//
//
...
...
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