Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for getStorageInfo (0.1 sec)

  1. cmd/erasure.go

    			}
    			disksInfo[index] = di
    			return nil
    		}, index)
    	}
    
    	g.Wait()
    	return disksInfo
    }
    
    // Get an aggregated storage info across all disks.
    func getStorageInfo(disks []StorageAPI, endpoints []Endpoint, metrics bool) StorageInfo {
    	disksInfo := getDisksInfo(disks, endpoints, metrics)
    
    	// Sort so that the first element is the smallest.
    	sort.Slice(disksInfo, func(i, j int) bool {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 22:23:33 UTC 2024
    - 16.1K bytes
    - Viewed (0)
Back to top