mirror of
https://github.com/rclone/rclone.git
synced 2025-02-11 16:11:37 +01:00
mount: use the equivalent of kernel_cache by default #FIXME WIP
This commit is contained in:
parent
793f594b07
commit
87d64e7fb4
@ -79,6 +79,9 @@ func (f *File) Open(ctx context.Context, req *fuse.OpenRequest, resp *fuse.OpenR
|
|||||||
resp.Flags |= fuse.OpenNonSeekable
|
resp.Flags |= fuse.OpenNonSeekable
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Keep the file in the cache - equivalent of kernel_cache
|
||||||
|
resp.Flags |= fuse.OpenKeepCache
|
||||||
|
|
||||||
return &FileHandle{handle}, nil
|
return &FileHandle{handle}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user