- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for findDiskIndexByDiskID (0.08 seconds)
-
cmd/erasure-sets.go
// format, after successful validation. // - i'th position is the set index // - j'th position is the disk index in the current set func findDiskIndexByDiskID(refFormat *formatErasureV3, diskID string) (int, int, error) { if diskID == "" { return -1, -1, errDiskNotFound } if diskID == offlineDiskUUID { return -1, -1, fmt.Errorf("DriveID: %s is offline", diskID)Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 37K bytes - Click Count (1) -
cmd/xl-storage.go
format := &formatErasureV3{} json := jsoniter.ConfigCompatibleWithStandardLibrary if err = json.Unmarshal(s.formatData, &format); err != nil { return s, errCorruptedFormat } m, n, err := findDiskIndexByDiskID(format, format.Erasure.This) if err != nil { return s, err } diskID := format.Erasure.This if m != ep.SetIdx || n != ep.DiskIdx { storageLogOnceIf(context.Background(),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 91.7K bytes - Click Count (0)