Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

mount: attempt to speed up

Nick Craig-Woodde80a540a722
diff --git a/cmd/mount/fs.go b/cmd/mount/fs.go
index c9e6bf834..71f1a0504 100644
--- a/cmd/mount/fs.go
+++ b/cmd/mount/fs.go
@@ -32,6 +32,13 @@ func mountOptions(device string) (options []fuse.MountOption) {
fuse.FSName(device), fuse.VolumeName(device),
fuse.NoAppleDouble(),
fuse.NoAppleXattr(),
+
+ // 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 allowNonEmpty {
options = append(options, fuse.AllowNonEmptyMount())