- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for closeStorageDisks (0.09 sec)
-
cmd/erasure.go
} // Shutdown function for object storage interface. func (er erasureObjects) Shutdown(ctx context.Context) error { // Add any object layer shutdown activities here. closeStorageDisks(er.getDisks()...) return nil } // defaultWQuorum write quorum based on setDriveCount and defaultParityCount func (er erasureObjects) defaultWQuorum() int { dataCount := er.setDriveCount - er.defaultParityCount
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 16.1K bytes - Viewed (0) -
cmd/format-erasure.go
}, index) } // Wait for the routines to finish. return reduceWriteQuorumErrs(ctx, g.Wait(), nil, len(storageDisks)) } // relinquishes the underlying connection for all storage disks. func closeStorageDisks(storageDisks ...StorageAPI) { var wg sync.WaitGroup for _, disk := range storageDisks { if disk == nil { continue } wg.Add(1) go func(disk StorageAPI) { defer wg.Done()
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
storageDisks, _ := initStorageDisksWithErrors(s.endpoints.Endpoints, storageOpts{ cleanUp: false, healthCheck: false, }) defer func(storageDisks []StorageAPI) { if err != nil { closeStorageDisks(storageDisks...) } }(storageDisks) formats, sErrs := loadFormatErasureAll(storageDisks, true) if err = checkFormatErasureValues(formats, storageDisks, s.setDriveCount); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 27 10:41:37 UTC 2024 - 37K bytes - Viewed (1)