mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
mount: enable async reads for a 20% speedup
Now that the vfs can cope with out of order reads we can enable the async read feature for an increase in througput on the local disk of about 20%.
This commit is contained in:
parent
5beeac7959
commit
21c6babdbb
@ -32,12 +32,10 @@ func mountOptions(device string) (options []fuse.MountOption) {
|
||||
fuse.Subtype("rclone"),
|
||||
fuse.FSName(device),
|
||||
fuse.VolumeName(mountlib.VolumeName),
|
||||
fuse.AsyncRead(),
|
||||
|
||||
// Options from benchmarking in the fuse module
|
||||
//fuse.MaxReadahead(64 * 1024 * 1024),
|
||||
//fuse.AsyncRead(), - FIXME this causes
|
||||
// ReadFileHandle.Read error: read /home/files/ISOs/xubuntu-15.10-desktop-amd64.iso: bad file descriptor
|
||||
// which is probably related to errors people are having
|
||||
//fuse.WritebackCache(),
|
||||
}
|
||||
if mountlib.NoAppleDouble {
|
||||
|
Loading…
Reference in New Issue
Block a user