aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-04-02 15:14:37 -0700
committerchrislu <chris.lu@gmail.com>2022-04-02 15:14:37 -0700
commit958f880b700b804d6d0a30d21a25e3408348f5df (patch)
treede73dd4c1c8f01c7e3cdf8d66420924978e2ec30 /weed/command/mount.go
parenta8eefda4526153a017a3d46761cefe6b0591661a (diff)
downloadseaweedfs-958f880b700b804d6d0a30d21a25e3408348f5df.tar.xz
seaweedfs-958f880b700b804d6d0a30d21a25e3408348f5df.zip
mount: add grpc method to adjust quota
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index 428e073f2..088e5104c 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -29,6 +29,7 @@ type MountOptions struct {
readOnly *bool
debug *bool
debugPort *int
+ localSocket *string
}
var (
@@ -63,6 +64,7 @@ func init() {
mountOptions.readOnly = cmdMount.Flag.Bool("readOnly", false, "read only")
mountOptions.debug = cmdMount.Flag.Bool("debug", false, "serves runtime profiling data, e.g., http://localhost:<debug.port>/debug/pprof/goroutine?debug=2")
mountOptions.debugPort = cmdMount.Flag.Int("debug.port", 6061, "http port for debugging")
+ mountOptions.localSocket = cmdFiler.Flag.String("localSocket", "", "default to /tmp/seaweedfs-mount-<mount_dir_hash>.sock")
mountCpuProfile = cmdMount.Flag.String("cpuprofile", "", "cpu profile output file")
mountMemProfile = cmdMount.Flag.String("memprofile", "", "memory profile output file")