mirror of
https://github.com/restic/restic.git
synced 2025-10-09 08:11:18 +00:00
Merge pull request #3426 from MichaelEischer/fast-fuse
mount: enable fuse readahead
This commit is contained in:
@@ -122,6 +122,7 @@ func runMount(opts MountOptions, gopts GlobalOptions, args []string) error {
|
|||||||
mountOptions := []systemFuse.MountOption{
|
mountOptions := []systemFuse.MountOption{
|
||||||
systemFuse.ReadOnly(),
|
systemFuse.ReadOnly(),
|
||||||
systemFuse.FSName("restic"),
|
systemFuse.FSName("restic"),
|
||||||
|
systemFuse.MaxReadahead(128 * 1024),
|
||||||
}
|
}
|
||||||
|
|
||||||
if opts.AllowOther {
|
if opts.AllowOther {
|
||||||
|
Reference in New Issue
Block a user