aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2021-12-28 17:41:01 -0800
committerchrislu <chris.lu@gmail.com>2021-12-28 17:41:01 -0800
commit498661e3bb6fbe420b4adfde01849edbf1916a0d (patch)
treefd510a82ba1443953c0eb673ae82e74f0301aa0b
parent9a00c17555e00e6c3b05c93add9042a3293cfb19 (diff)
downloadseaweedfs-498661e3bb6fbe420b4adfde01849edbf1916a0d.tar.xz
seaweedfs-498661e3bb6fbe420b4adfde01849edbf1916a0d.zip
mount: remove limits on number of parallel requests
-rw-r--r--weed/command/mount_std.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index 8514f18af..ccd4b1684 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -173,11 +173,11 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
fuse.DaemonTimeout("3600"),
fuse.AllowSUID(),
fuse.DefaultPermissions(),
- fuse.MaxReadahead(1024 * 128),
+ fuse.MaxReadahead(1024 * 512),
fuse.AsyncRead(),
// fuse.WritebackCache(),
- fuse.MaxBackground(128),
- fuse.CongestionThreshold(128),
+ // fuse.MaxBackground(1024),
+ // fuse.CongestionThreshold(1024),
}
options = append(options, osSpecificMountOptions()...)