diff options
Diffstat (limited to 'weed/command/mount_std.go')
| -rw-r--r-- | weed/command/mount_std.go | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index 2603260a2..ccd4b1684 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -78,7 +78,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { var cipher bool var err error for i := 0; i < 10; i++ { - err = pb.WithOneOfGrpcFilerClients(filerAddresses, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error { + err = pb.WithOneOfGrpcFilerClients(false, filerAddresses, grpcDialOption, func(client filer_pb.SeaweedFilerClient) error { resp, err := client.GetFilerConfiguration(context.Background(), &filer_pb.GetFilerConfigurationRequest{}) if err != nil { return fmt.Errorf("get filer grpc address %v configuration: %v", filerAddresses, err) @@ -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.WritebackCache(), + // fuse.MaxBackground(1024), + // fuse.CongestionThreshold(1024), } options = append(options, osSpecificMountOptions()...) |
