mount: attempt to speed up
This commit is contained in:
parent
392a86f585
commit
de80a540a7
1 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,13 @@ func mountOptions(device string) (options []fuse.MountOption) {
|
||||||
fuse.FSName(device), fuse.VolumeName(device),
|
fuse.FSName(device), fuse.VolumeName(device),
|
||||||
fuse.NoAppleDouble(),
|
fuse.NoAppleDouble(),
|
||||||
fuse.NoAppleXattr(),
|
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 {
|
if allowNonEmpty {
|
||||||
options = append(options, fuse.AllowNonEmptyMount())
|
options = append(options, fuse.AllowNonEmptyMount())
|
||||||
|
|
Loading…
Add table
Reference in a new issue