diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-06-28 10:18:32 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-06-28 10:18:32 -0700 |
| commit | 9033a7d3692572fc10ddf47d992a91271d693f52 (patch) | |
| tree | e65106c911a50face36dde37d6c694571e1952f4 /weed/command | |
| parent | 1bb8cae65d499dc48cc2d7db2dc5692482f3f305 (diff) | |
| download | seaweedfs-9033a7d3692572fc10ddf47d992a91271d693f52.tar.xz seaweedfs-9033a7d3692572fc10ddf47d992a91271d693f52.zip | |
removed async option
Diffstat (limited to 'weed/command')
| -rw-r--r-- | weed/command/mount.go | 2 | ||||
| -rw-r--r-- | weed/command/mount_std.go | 1 |
2 files changed, 0 insertions, 3 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go index 97207f7f9..440aca8c6 100644 --- a/weed/command/mount.go +++ b/weed/command/mount.go @@ -21,7 +21,6 @@ type MountOptions struct { umaskString *string nonempty *bool outsideContainerClusterMode *bool - asyncMetaDataCaching *bool } var ( @@ -50,7 +49,6 @@ 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{ diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go index abcf85110..915754166 100644 --- a/weed/command/mount_std.go +++ b/weed/command/mount_std.go @@ -170,7 +170,6 @@ func RunMount(option *MountOptions, umask os.FileMode) bool { MountMtime: time.Now(), Umask: umask, OutsideContainerClusterMode: *mountOptions.outsideContainerClusterMode, - AsyncMetaDataCaching: *mountOptions.asyncMetaDataCaching, Cipher: cipher, }) |
