aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-07-28 09:24:39 -0700
committerChris Lu <chris.lu@gmail.com>2020-07-28 09:24:39 -0700
commiteed525b71740f9aa4bffc8cab63f75fcaa8ae6b6 (patch)
tree01c27c75f1a0e7ddebb6c49ac54aae4e9c49dbc9 /weed/command/mount.go
parenta566bfc6e1b25c262c3eb20cd9a8a2ef7a5f5392 (diff)
downloadseaweedfs-eed525b71740f9aa4bffc8cab63f75fcaa8ae6b6.tar.xz
seaweedfs-eed525b71740f9aa4bffc8cab63f75fcaa8ae6b6.zip
FUSE mount: remove DirListCacheLimit
outdated parameter
Diffstat (limited to 'weed/command/mount.go')
-rw-r--r--weed/command/mount.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/weed/command/mount.go b/weed/command/mount.go
index 440aca8c6..a0e573423 100644
--- a/weed/command/mount.go
+++ b/weed/command/mount.go
@@ -9,7 +9,6 @@ type MountOptions struct {
filerMountRootPath *string
dir *string
dirAutoCreate *bool
- dirListCacheLimit *int64
collection *string
replication *string
ttlSec *int
@@ -35,7 +34,6 @@ func init() {
mountOptions.filerMountRootPath = cmdMount.Flag.String("filer.path", "/", "mount this remote path from filer server")
mountOptions.dir = cmdMount.Flag.String("dir", ".", "mount weed filer to this directory")
mountOptions.dirAutoCreate = cmdMount.Flag.Bool("dirAutoCreate", false, "auto create the directory to mount to")
- mountOptions.dirListCacheLimit = cmdMount.Flag.Int64("dirListCacheLimit", 1000000, "limit cache size to speed up directory long format listing")
mountOptions.collection = cmdMount.Flag.String("collection", "", "collection to create the files")
mountOptions.replication = cmdMount.Flag.String("replication", "", "replication(e.g. 000, 001) to create to files. If empty, let filer decide.")
mountOptions.ttlSec = cmdMount.Flag.Int("ttl", 0, "file ttl in seconds")