forked from TrueCloudLab/restic
Merge pull request #3426 from MichaelEischer/fast-fuse
mount: enable fuse readahead
This commit is contained in:
commit
45eb30388f
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue