diff --git a/cmd/mount/file.go b/cmd/mount/file.go index d03d52d0b..06e4b186c 100644 --- a/cmd/mount/file.go +++ b/cmd/mount/file.go @@ -79,6 +79,9 @@ func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenR resp.Flags |= fuse.OpenNonSeekable } + // Keep the file in the cache - equivalent of kernel_cache + resp.Flags |= fuse.OpenKeepCache + return &FileHandle{handle}, nil }