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
7a0743bd
Commit
7a0743bd
authored
Mar 11, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
9fd83a85
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
wcfs/wcfs.go
wcfs/wcfs.go
+3
-2
No files found.
wcfs/wcfs.go
View file @
7a0743bd
...
...
@@ -2390,11 +2390,11 @@ func _main() (err error) {
return
fmt
.
Errorf
(
"%s does not support pagecache control"
,
kfuse
)
}
// make a bold warning if kernel does not support explicit cache invalidation
// (patch
sent upstream
; see notes.txt -> "Notes on OS pagecache control")
// (patch
is in Linux 5.2+
; see notes.txt -> "Notes on OS pagecache control")
if
kinit
.
Flags
&
fuse
.
CAP_EXPLICIT_INVAL_DATA
==
0
{
w1
:=
fmt
.
Sprintf
(
"%s does not support explicit data cache invalidation"
,
kfuse
)
w2
:=
"-> performance will be AWFUL."
w3
:=
"-> you need kernel which includes git.kernel.org/linus/ad2ba64dd489
."
w3
:=
"-> you need kernel which includes git.kernel.org/linus/ad2ba64dd489."
w4
:=
"-> (Linux 5.2+, or nxd-fuse-dkms package installed from navytux.spb.ru/pkg)"
log
.
Error
(
w1
);
log
.
Error
(
w2
);
log
.
Error
(
w3
);
log
.
Error
(
w4
)
fmt
.
Fprintf
(
os
.
Stderr
,
"W: wcfs: %s
\n
W: wcfs: %s
\n
W: wcfs: %s
\n
W: wcfs: %s
\n
"
,
w1
,
w2
,
w3
,
w4
)
...
...
@@ -2458,5 +2458,6 @@ func _main() (err error) {
// wait for unmount
<-
serveCtx
.
Done
()
log
.
Infof
(
"stop %q %q"
,
mntpt
,
zurl
)
return
nil
// XXX serveErr | zwatchErr ?
}
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