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
ffaad0a6
Commit
ffaad0a6
authored
Jun 06, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
67b1f2e3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
+4
-4
wcfs/test.sh
wcfs/test.sh
+1
-1
wcfs/wcfs.go
wcfs/wcfs.go
+2
-2
wcfs/δftail.go
wcfs/δftail.go
+1
-1
No files found.
wcfs/test.sh
View file @
ffaad0a6
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# run wcfs tests under custom linux kernel
# run wcfs tests under custom linux kernel
if
test
-z
"
$qrun_loglevel
"
;
then
if
test
-z
"
$qrun_loglevel
"
;
then
go build
# rebuild wcfs
go build
# rebuild wcfs
TODO also test with -race
linux
=
${
LINUX
:-
$HOME
/src/linux/linux/arch/
`
uname
-m
`
/boot/bzImage
}
linux
=
${
LINUX
:-
$HOME
/src/linux/linux/arch/
`
uname
-m
`
/boot/bzImage
}
exec
../t/qemu-runlinux
"
$linux
"
$0
exec
../t/qemu-runlinux
"
$linux
"
$0
fi
fi
...
...
wcfs/wcfs.go
View file @
ffaad0a6
...
@@ -745,7 +745,7 @@ retry:
...
@@ -745,7 +745,7 @@ retry:
close
(
continueOSCacheUpload
)
close
(
continueOSCacheUpload
)
}()
}()
// head.zconnMu locked and
not cache uploaders are running
// head.zconnMu locked and
all cache uploaders are paused
zhead
:=
head
.
zconn
zhead
:=
head
.
zconn
bfdir
:=
head
.
bfdir
bfdir
:=
head
.
bfdir
...
@@ -810,7 +810,7 @@ retry:
...
@@ -810,7 +810,7 @@ retry:
}
}
*/
*/
// invalidate kernel cache for dat
e
in changed files
// invalidate kernel cache for dat
a
in changed files
// XXX no indexMu lock needed because head is Locked
// XXX no indexMu lock needed because head is Locked
δF
:=
bfdir
.
δFtail
.
Update
(
δZ
,
zhead
)
δF
:=
bfdir
.
δFtail
.
Update
(
δZ
,
zhead
)
...
...
wcfs/δftail.go
View file @
ffaad0a6
...
@@ -63,7 +63,7 @@ import (
...
@@ -63,7 +63,7 @@ import (
//
//
// XXX see also zodb.ΔTail
// XXX see also zodb.ΔTail
type
ΔFtail
struct
{
type
ΔFtail
struct
{
// ΔFtail merge btree.ΔTail with history of ZBlk
// ΔFtail merge
s
btree.ΔTail with history of ZBlk
δBtail
*
ΔBtail
δBtail
*
ΔBtail
fileIdx
map
[
*
btree
.
LOBTree
]
SetBigFile
// root -> {} BigFile XXX root -> oid?
fileIdx
map
[
*
btree
.
LOBTree
]
SetBigFile
// root -> {} BigFile XXX root -> oid?
...
...
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