Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for initFreeSpace (0.26 sec)

  1. cmd/erasure-server-pool-rebalance_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "ifs":
    			z.InitFreeSpace, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "InitFreeSpace")
    				return
    			}
    		case "ic":
    			z.InitCapacity, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "InitCapacity")
    				return
    			}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  2. cmd/rebalance-admin.go

    		// pf_c - percentage free space across pools, f_i - ith pool's free space, c_i - ith pool's capacity
    		// i.e. x = c_i*pfc -f_i
    		totalBytesToRebal := float64(ps.InitCapacity)*meta.PercentFreeGoal - float64(ps.InitFreeSpace)
    		elapsed := time.Since(ps.Info.StartTime)
    		eta := time.Duration(totalBytesToRebal * float64(elapsed) / float64(ps.Bytes))
    		if !ps.Info.EndTime.IsZero() {
    			stopTime = ps.Info.EndTime
    		}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Dec 22 00:56:43 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool-rebalance.go

    //go:generate msgp -file $GOFILE -unexported
    
    // rebalanceStats contains per-pool rebalance statistics like number of objects,
    // versions and bytes rebalanced out of a pool
    type rebalanceStats struct {
    	InitFreeSpace uint64 `json:"initFreeSpace" msg:"ifs"` // Pool free space at the start of rebalance
    	InitCapacity  uint64 `json:"initCapacity" msg:"ic"`   // Pool capacity at the start of rebalance
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:29:28 GMT 2024
    - 27.2K bytes
    - Viewed (0)
Back to top