aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-04-21 18:02:08 -0700
committerChris Lu <chris.lu@gmail.com>2020-04-21 18:02:08 -0700
commitb8e4238ad29a60b37a3983a9968e325dd6849103 (patch)
treef86c397acbd34c2daf82bbe9fba9b4b4ab8fe69c /weed/command/mount.go
parent27128c78751990de93459035afb6b9c9bd3ed16c (diff)
downloadseaweedfs-b8e4238ad29a60b37a3983a9968e325dd6849103.tar.xz
seaweedfs-b8e4238ad29a60b37a3983a9968e325dd6849103.zip
add placeholder for cached meta data reading
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 efa4650ab..75ea485d3 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -20,6 +20,7 @@ type MountOptions struct {
umaskString *string
nonempty *bool
outsideContainerClusterMode *bool
+ asyncMetaDataCaching *bool
}
var (
@@ -47,6 +48,7 @@ func init() {
mountCpuProfile = cmdMount.Flag.String("cpuprofile", "", "cpu profile output file")
mountMemProfile = cmdMount.Flag.String("memprofile", "", "memory profile output file")
mountOptions.outsideContainerClusterMode = cmdMount.Flag.Bool("outsideContainerClusterMode", false, "allows other users to access the file system")
+ mountOptions.asyncMetaDataCaching = cmdMount.Flag.Bool("asyncMetaDataCaching", false, "<wip> async meta data caching")
}
var cmdMount = &Command{