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
aba9907d
Commit
aba9907d
authored
Oct 08, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
374d89ad
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
+2
-2
wcfs/wcfs_test.py
wcfs/wcfs_test.py
+1
-1
No files found.
wcfs/wcfs.go
View file @
aba9907d
...
...
@@ -470,7 +470,7 @@ func (bfdata *BigFileData) GetAttr(out *fuse.Attr, _ nodefs.File, fctx *fuse.Con
// XXX locking
out
.
Mode
=
fuse
.
S_IFREG
|
0444
out
.
Size
=
0
// FIXME
out
.
Size
=
111
// FIXME -> zbf.Size() (= zbf.blktab.MaxKey() * zbf.blksize)
// .Blocks
// FIXME lastChange should cover all bigfile data, not only ZBigFile itself
...
...
@@ -602,7 +602,7 @@ func (bfdata *BigFileData) readBlk(ctx context.Context, blk int64, dest []byte)
// pagecache control is supported by kernel). We can correctly live on
// with the error, but data access will be likely very slow. Tell user
// about the problem.
log
.
Errorf
(
"BUG: bigfile %s: blk %d: -> pagecache: %s (ignoring, reading from bigfile will be very slow)"
,
zbf
.
POid
(),
blk
,
st
)
log
.
Errorf
(
"BUG: bigfile %s: blk %d: -> pagecache: %s (ignoring,
but
reading from bigfile will be very slow)"
,
zbf
.
POid
(),
blk
,
st
)
}()
return
nil
...
...
wcfs/wcfs_test.py
View file @
aba9907d
...
...
@@ -172,7 +172,7 @@ def test_bigfile_empty():
# XXX force sync of wcfs - how?
fsize
=
10
*
blksize
+
len
(
s
)
# trailing \0 not counted XXX ok?
fsize
=
10
*
blksize
+
len
(
s
)
# trailing \0 not counted XXX ok?
-> XXX not ok
"""
st = os.stat(fpath + "/head/data")
...
...
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