Commit 763fc027 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent d5568544
...@@ -690,9 +690,10 @@ func main() { ...@@ -690,9 +690,10 @@ func main() {
} }
gfsconn = fsconn // FIXME temp workaround (see ^^^) gfsconn = fsconn // FIXME temp workaround (see ^^^)
// we require proper pagecache control (added to Linux in 2010)
supports := fssrv.KernelSettings().SupportsNotify supports := fssrv.KernelSettings().SupportsNotify
if !(supports(fuse.NOTIFY_STORE) && supports(fuse.NOTIFY_RETRIEVE)) { if !(supports(fuse.NOTIFY_STORE) && supports(fuse.NOTIFY_RETRIEVE)) {
log.Fatalf("kernel FUSE does not support cache control") // XXX more details? log.Fatalf("kernel FUSE does not support pagecache control") // XXX more details?
} }
// add entries to / // add entries to /
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment