further improvements to newXLStorage (#14166)

- create internal erasure volumes only if the disk is unformatted
- return a copy of format data in xlStorage.ReadAll
- parse env vars only once, to be re-used by xl-storage
This commit is contained in:
Krishnan Parthasarathi
2022-01-24 17:09:12 -08:00
committed by GitHub
parent 295730408b
commit ebc3627c73
3 changed files with 35 additions and 27 deletions

View File

@@ -341,6 +341,10 @@ var (
// List of local drives to this node, this is only set during server startup.
globalLocalDrives []StorageAPI
// Is MINIO_CI_CD set?
globalIsCICD bool
globalRootDiskThreshold uint64
// Add new variable global values here.
)