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
4bcde975
Commit
4bcde975
authored
Oct 07, 2018
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
763fc027
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
wcfs/wcfs.go
wcfs/wcfs.go
+1
-2
No files found.
wcfs/wcfs.go
View file @
4bcde975
...
...
@@ -593,7 +593,6 @@ func (bfdata *BigFileData) readBlk(ctx context.Context, blk int64, dest []byte)
// XXX where to report error (-> log)
// XXX st == ENOSYS -> log once + disable pagecache update?
// EINVAL | ENOENT -> bug
// ENOMEN - kernel is already under memory pressure - we must not keep here
...
...
@@ -690,7 +689,7 @@ func main() {
}
gfsconn
=
fsconn
// FIXME temp workaround (see ^^^)
// we require proper pagecache control (added to Linux in 2010)
// we require proper pagecache control (added to Linux
2.6.36
in 2010)
supports
:=
fssrv
.
KernelSettings
()
.
SupportsNotify
if
!
(
supports
(
fuse
.
NOTIFY_STORE
)
&&
supports
(
fuse
.
NOTIFY_RETRIEVE
))
{
log
.
Fatalf
(
"kernel FUSE does not support pagecache control"
)
// XXX more details?
...
...
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