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
2768e2e3
Commit
2768e2e3
authored
Feb 25, 2019
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
acb8f52c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
wcfs/wcfs.go
wcfs/wcfs.go
+1
-1
wcfs/zblk_test.go
wcfs/zblk_test.go
+2
-2
No files found.
wcfs/wcfs.go
View file @
2768e2e3
...
...
@@ -884,7 +884,7 @@ func (f *BigFile) invalidateBlk(ctx context.Context, blk int64) (err error) {
st
:=
fsconn
.
FileNotifyStoreCache
(
frev
.
Inode
(),
off
,
blkdata
)
if
st
!=
fuse
.
OK
{
log
.
Errorf
(
"BUG: %s: invalidate blk #%d: %s: store cache: %s (ignoring, but reading @revX/bigfile will be slow)"
,
f
.
path
(),
blk
,
frev
.
path
,
st
)
log
.
Errorf
(
"BUG: %s: invalidate blk #%d: %s: store cache: %s (ignoring, but reading @revX/bigfile will be slow)"
,
f
.
path
(),
blk
,
frev
.
path
()
,
st
)
}
}()
}
...
...
wcfs/zblk_test.go
View file @
2768e2e3
...
...
@@ -86,10 +86,10 @@ func TestZBlk(t *testing.T) {
binary
.
BigEndian
.
PutUint32
(
data
[
i
*
4
:
],
i
)
}
z0Data
,
err
:=
z0
.
loadBlkData
(
ctx
);
X
(
err
)
z0Data
,
_
,
err
:=
z0
.
loadBlkData
(
ctx
);
X
(
err
)
// FIXME check rev
assert
.
Equal
(
z0Data
,
data
,
"ZBlk0 data wrong"
)
z1Data
,
err
:=
z1
.
loadBlkData
(
ctx
);
X
(
err
)
z1Data
,
_
,
err
:=
z1
.
loadBlkData
(
ctx
);
X
(
err
)
// FIXME check rev
if
false
{
fmt
.
Printf
(
"%#v
\n
"
,
z1Data
)
}
...
...
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