- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for newHealFormatSets (0.33 sec)
-
cmd/format-erasure_test.go
} } quorumFormat, err := getFormatErasureInQuorum(formats) if err != nil { t.Fatal(err) } // 16th disk is unformatted. errs[15] = errUnformattedDisk newFormats, _ := newHealFormatSets(quorumFormat, setCount, setDriveCount, formats, errs) if newFormats == nil { t.Fatal("Unexpected failure") } // Check if deployment IDs are preserved. for i := range newFormats {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 15 08:25:46 UTC 2024 - 12.9K bytes - Viewed (0) -
cmd/format-erasure.go
if err != nil { return 0, err } return sc.GetParityForSC(storageclass.STANDARD), nil } // Initialize a new set of set formats which will be written to all disks. func newHealFormatSets(refFormat *formatErasureV3, setCount, setDriveCount int, formats []*formatErasureV3, errs []error) ([][]*formatErasureV3, [][]DiskInfo) { newFormats := make([][]*formatErasureV3, setCount) for i := range refFormat.Erasure.Sets {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 23.2K bytes - Viewed (0) -
cmd/erasure-sets.go
errCorruptedFormat)) return res, errCorruptedFormat } formatOpID := mustGetUUID() // Initialize a new set of set formats which will be written to disk. newFormatSets, currentDisksInfo := newHealFormatSets(refFormat, s.setCount, s.setDriveCount, formats, sErrs) if !dryRun { tmpNewFormats := make([]*formatErasureV3, s.setCount*s.setDriveCount) for i := range newFormatSets {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1)