diff options
| -rw-r--r-- | cmd/seaweedfs-csi-driver/main.go | 2 | ||||
| -rw-r--r-- | go.mod | 2 | ||||
| -rw-r--r-- | go.sum | 2 |
3 files changed, 4 insertions, 2 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>") @@ -3,7 +3,7 @@ module github.com/seaweedfs/seaweedfs-csi-driver go 1.17 require ( - github.com/chrislusf/seaweedfs v0.0.0-20220118200440-77362700e16c + github.com/chrislusf/seaweedfs v0.0.0-20220215003801-ebc22625b4d4 github.com/container-storage-interface/spec v1.5.0 github.com/mitchellh/go-ps v1.0.0 golang.org/x/net v0.0.0-20210813160813-60bc85c4be6d @@ -83,6 +83,8 @@ github.com/chrislusf/seaweedfs v0.0.0-20220103010519-5799a20f7149 h1:KBBWMdmQiJk github.com/chrislusf/seaweedfs v0.0.0-20220103010519-5799a20f7149/go.mod h1:B35zB+jjq8ophcs9xFA3vgOQ2Gg6IcryQLCaTal6YOk= github.com/chrislusf/seaweedfs v0.0.0-20220118200440-77362700e16c h1:Axt4WhnZK9wDY3YRGxdMw95BD8Ra0+G3R6eIjnUb3Dw= github.com/chrislusf/seaweedfs v0.0.0-20220118200440-77362700e16c/go.mod h1:6tjg7iQ+rT4kmqHNycM0SEt6X8czh4XpBQTAC7mdOjc= +github.com/chrislusf/seaweedfs v0.0.0-20220215003801-ebc22625b4d4 h1:g00x1k8gu983VCDg2gRroT+EKTL1xIpN1GWkeZ4LxnE= +github.com/chrislusf/seaweedfs v0.0.0-20220215003801-ebc22625b4d4/go.mod h1:yAOSMp2obuJJ3QRVY/mzlDTMyiCJQr7a80jbDKIWzTU= github.com/chzyer/logex v1.1.10/go.mod h1:+Ywpsq7O8HXn0nuIou7OrIPyXbp3wmkHB+jjWRnGsAI= github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod h1:nSuG5e5PlCu98SY8svDHJxuZscDgtXS6KTTbou5AhLI= github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod h1:Q3SI9o4m/ZMnBNeIyt5eFwwo7qiLfzFZmjNmxjkiQlU= |
