diff options
| author | Viktor Kuzmin <kvaster@gmail.com> | 2022-09-05 16:58:53 +0300 |
|---|---|---|
| committer | Viktor Kuzmin <kvaster@gmail.com> | 2022-09-05 16:58:53 +0300 |
| commit | 413439589f08012a559eb6c11e4a51afdc636b35 (patch) | |
| tree | f0d61b04b565edc0952a6d149c766b70566f94bf /cmd | |
| parent | a5808d5f084cb0194bda12aa68ba1807ac213926 (diff) | |
| download | seaweedfs-csi-driver-413439589f08012a559eb6c11e4a51afdc636b35.tar.xz seaweedfs-csi-driver-413439589f08012a559eb6c11e4a51afdc636b35.zip | |
Allow per pv/pvc settings for cache, concurrent writes and uid/gid maps
Diffstat (limited to 'cmd')
| -rw-r--r-- | cmd/seaweedfs-csi-driver/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/seaweedfs-csi-driver/main.go b/cmd/seaweedfs-csi-driver/main.go index 76f5829..8eedce3 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", 0, "local file chunk cache capacity in MB") + cacheSizeMB = flag.Int("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>") |
