aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2018-11-11 00:08:22 -0800
committerChris Lu <chris.lu@gmail.com>2018-11-11 00:08:22 -0800
commita09eaf87560a73a9b7a11b92dc9272bb95507029 (patch)
tree4d8859700f038fdf52898ef7c30cbc94bd93fa51
parent8178fc9973e8ee3974ec5e24aedd98a45ad467c0 (diff)
downloadseaweedfs-a09eaf87560a73a9b7a11b92dc9272bb95507029.tar.xz
seaweedfs-a09eaf87560a73a9b7a11b92dc9272bb95507029.zip
adjusting, seems there are some perf benefit
-rw-r--r--weed/command/mount_std.go4
1 files 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)