Commit 4bcde975 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent 763fc027
......@@ -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?
......
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