You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cmd/gce-pd-csi-driver/main.go
+6
Original file line number
Diff line number
Diff line change
@@ -63,6 +63,9 @@ var (
63
63
maxConcurrentFormat=flag.Int("max-concurrent-format", 1, "The maximum number of concurrent format exec calls")
64
64
concurrentFormatTimeout=flag.Duration("concurrent-format-timeout", 1*time.Minute, "The maximum duration of a format operation before its concurrency token is released")
65
65
66
+
maxConcurrentFormatAndMount=flag.Int("max-concurrent-format-and-mount", 1, "If set then format and mount operations are serialized on each node. This is stronger than max-concurrent-format as it includes fsck and other mount operations")
67
+
formatAndMountTimeout=flag.Duration("format-and-mount-timeout", 1*time.Minute, "The maximum duration of a format and mount operation before another such operation will be started. Used only if --serialize-format-and-mount")
68
+
66
69
versionstring
67
70
)
68
71
@@ -153,6 +156,9 @@ func handle() {
153
156
klog.Fatalf("Failed to set up metadata service: %v", err.Error())
0 commit comments