aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-28 10:14:17 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-28 10:14:17 -0700
commit1bb8cae65d499dc48cc2d7db2dc5692482f3f305 (patch)
treee467980c5973dc2e3aeb6a2f1586b79df02e3c9c /weed/command/mount.go
parentb813fac4a39e9cec311a17706f70796d72a69bf2 (diff)
downloadseaweedfs-1bb8cae65d499dc48cc2d7db2dc5692482f3f305.tar.xz
seaweedfs-1bb8cae65d499dc48cc2d7db2dc5692482f3f305.zip
reverting and working
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 440aca8c6..97207f7f9 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -21,6 +21,7 @@ type MountOptions struct {
umaskString *string
nonempty *bool
outsideContainerClusterMode *bool
+ asyncMetaDataCaching *bool
}
var (
@@ -49,6 +50,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", true, "async meta data caching. this feature will be permanent and this option will be removed.")
}
var cmdMount = &Command{