From a09eaf87560a73a9b7a11b92dc9272bb95507029 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Sun, 11 Nov 2018 00:08:22 -0800 Subject: [PATCH] adjusting, seems there are some perf benefit --- weed/command/mount_std.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index f682eebfa..4d8fe2ddc 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -39,9 +39,9 @@ func runMount(cmd *Command, args []string) bool { fuse.AllowOther(), fuse.AllowSUID(), fuse.DefaultPermissions(), - // fuse.MaxReadahead(1024*128), // TODO: not tested yet, possibly improving read performance + fuse.MaxReadahead(1024*128), // TODO: not tested yet, possibly improving read performance fuse.AsyncRead(), - fuse.WritebackCache(), + // fuse.WritebackCache(), ) if err != nil { glog.Fatal(err)