From de80a540a722ee23122fb751dc7e098aa6c09e43 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 19 Sep 2016 16:25:20 +0100 Subject: [PATCH] mount: attempt to speed up --- cmd/mount/fs.go | 7 +++++++ 1 file changed, 7 insertions(+) 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())