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
b0c79b6b
Commit
b0c79b6b
authored
Aug 10, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
eaa44e39
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
wcfs/zblk.go
wcfs/zblk.go
+8
-2
No files found.
wcfs/zblk.go
View file @
b0c79b6b
...
...
@@ -126,6 +126,12 @@ func (zb *zBlk1State) PySetState(pystate interface{}) error {
func
(
zb
*
ZBlk1
)
LoadBlkData
(
ctx
context
.
Context
)
([]
byte
,
error
)
{
// XXX errctx
err
:=
zb
.
PActivate
(
ctx
)
if
err
!=
nil
{
return
nil
,
err
}
defer
zb
.
PDeactivate
()
// // empty .chunktab -> ø
// ev := zb.chunktab.Entryv()
// if len(ev) == 0 {
...
...
@@ -218,7 +224,7 @@ func (zb *ZBlk1) LoadBlkData(ctx context.Context) ([]byte, error) {
return
loadBTree
(
zb
.
chunktab
)
})
err
:
=
wg
.
Wait
()
err
=
wg
.
Wait
()
// deactivate all loaded ZData objects in chunktab
for
_
,
zd
:=
range
chunktab
{
...
...
@@ -226,7 +232,7 @@ func (zb *ZBlk1) LoadBlkData(ctx context.Context) ([]byte, error) {
}
if
err
!=
nil
{
// XXX
panic
(
err
)
// XXX
}
panic
(
"TODO"
)
...
...
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