aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-02-14 20:43:28 -0800
committerchrislu <chris.lu@gmail.com>2022-02-14 20:43:28 -0800
commit4b59883d1548ce21236e6be22da8cb18ee7a3d33 (patch)
tree7c665a4d7f04b510e7120c8dfc6b39011acda4e4 /cmd
parentc56a50ad089123f8d1eacd3d7692b3645acff0ff (diff)
downloadseaweedfs-csi-driver-4b59883d1548ce21236e6be22da8cb18ee7a3d33.tar.xz
seaweedfs-csi-driver-4b59883d1548ce21236e6be22da8cb18ee7a3d33.zip
disable cache by default
fix https://github.com/seaweedfs/seaweedfs-csi-driver/issues/43
Diffstat (limited to 'cmd')
-rw-r--r--cmd/seaweedfs-csi-driver/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/seaweedfs-csi-driver/main.go b/cmd/seaweedfs-csi-driver/main.go
index 86433d1..f42ba59 100644
--- a/cmd/seaweedfs-csi-driver/main.go
+++ b/cmd/seaweedfs-csi-driver/main.go
@@ -16,7 +16,7 @@ var (
nodeID = flag.String("nodeid", "", "node id")
version = flag.Bool("version", false, "Print the version and exit.")
concurrentWriters = flag.Int("concurrentWriters", 32, "limit concurrent goroutine writers if not 0")
- cacheSizeMB = flag.Int64("cacheCapacityMB", 1000, "local file chunk cache capacity in MB (0 will disable cache)")
+ cacheSizeMB = flag.Int64("cacheCapacityMB", 0, "local file chunk cache capacity in MB")
cacheDir = flag.String("cacheDir", os.TempDir(), "local cache directory for file chunks and meta data")
uidMap = flag.String("map.uid", "", "map local uid to uid on filer, comma-separated <local_uid>:<filer_uid>")
gidMap = flag.String("map.gid", "", "map local gid to gid on filer, comma-separated <local_gid>:<filer_gid>")