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
e9932145
Commit
e9932145
authored
Mar 02, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
52f099c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
8 deletions
+2
-8
wcfs/client/wcfs.cpp
wcfs/client/wcfs.cpp
+2
-8
No files found.
wcfs/client/wcfs.cpp
View file @
e9932145
...
@@ -117,7 +117,7 @@
...
@@ -117,7 +117,7 @@
//
//
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
// XXX locking -> explain atMu + slaves and refer to "Locking" in wcfs.go
//
//
// Conn.atMu > Conn.
m
u > FileH.mu
// Conn.atMu > Conn.
filehM
u > FileH.mu
//
//
// Several locks are RWMutex instead of just Mutex not only to allow more
// Several locks are RWMutex instead of just Mutex not only to allow more
// concurrency, but, in the first place for correctness: pinner thread being
// concurrency, but, in the first place for correctness: pinner thread being
...
@@ -141,7 +141,7 @@
...
@@ -141,7 +141,7 @@
// similar to the above. This locks are:
// similar to the above. This locks are:
//
//
// - Conn.atMu
// - Conn.atMu
// - Conn.
m
u
// - Conn.
filehM
u
//
//
// XXX pinner takes the following locks (XXX recheck)
// XXX pinner takes the following locks (XXX recheck)
//
//
...
@@ -153,12 +153,6 @@
...
@@ -153,12 +153,6 @@
// - fileh.mu (R:.mmaps W:.pinned)
// - fileh.mu (R:.mmaps W:.pinned)
//
//
// - virt_lock
// - virt_lock
//
//
// XXX lock order
//
// Conn.atMu > Conn.filehMu > FileH.mu
//
#include "wcfs_misc.h"
#include "wcfs_misc.h"
...
...
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