Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for Totals (0.17 sec)

  1. cmd/erasure.go

    				if v.N > 0 {
    					di.Metrics.LastMinute[k] = v.asTimedAction()
    				}
    			}
    			for k, v := range info.Metrics.APICalls {
    				di.Metrics.APICalls[k] = v
    			}
    			if info.Total > 0 {
    				di.Utilization = float64(info.Used / info.Total * 100)
    			}
    			disksInfo[index] = di
    			return nil
    		}, index)
    	}
    
    	g.Wait()
    	return disksInfo
    }
    
    // Get an aggregated storage info across all disks.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 16K bytes
    - Viewed (1)
  2. cmd/metrics-v2.go

    	waitingTotal      MetricName = "waiting_total"
    	incomingTotal     MetricName = "incoming_total"
    	objectTotal       MetricName = "object_total"
    	versionTotal      MetricName = "version_total"
    	deleteMarkerTotal MetricName = "deletemarker_total"
    	offlineTotal      MetricName = "offline_total"
    	onlineTotal       MetricName = "online_total"
    	openTotal         MetricName = "open_total"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-disk-id-check.go

    			runtime.Gosched()
    			acc = e.cached.Load()
    		}
    	}
    	atomic.AddInt64(&acc.N, 1)
    	atomic.AddInt64(&acc.Total, int64(value))
    	atomic.AddInt64(&acc.Size, sz)
    }
    
    // total returns the total call count and latency for the last minute.
    func (e *lockedLastMinuteLatency) total() AccElem {
    	e.mu.Lock()
    	defer e.mu.Unlock()
    	return e.lastMinuteLatency.getTotal()
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. cmd/data-scanner.go

    			f.newCache.replaceHashed(thisHash, folder.parent, *flat)
    			total := map[string]string{
    				"objects": strconv.FormatUint(flat.Objects, 10),
    				"size":    strconv.FormatInt(flat.Size, 10),
    			}
    			if flat.Versions > 0 {
    				total["versions"] = strconv.FormatUint(flat.Versions, 10)
    			}
    			stop(total)
    		}
    
    	}
    	// Compact if too many children...
    	if !into.Compacted {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 47.6K bytes
    - Viewed (0)
  5. cmd/endpoint-ellipses.go

    	// prefers setCounts to be sorted for optimal behavior.
    	if divisibleSize < setCounts[len(setCounts)-1] {
    		return divisibleSize
    	}
    
    	// Figure out largest value of total_drives_in_erasure_set which results
    	// in least number of total_drives/total_drives_erasure_set ratio.
    	prevD := divisibleSize / setCounts[0]
    	for _, cnt := range setCounts {
    		if divisibleSize%cnt == 0 {
    			d := divisibleSize / cnt
    			if d <= prevD {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  6. cmd/site-replication.go

    func isReplicated(cntReplicated, total int, valSet set.StringSet) bool {
    	if cntReplicated > 0 && cntReplicated < total {
    		return false
    	}
    	if len(valSet) > 1 {
    		// mismatch - one or more sites has differing tags/policy
    		return false
    	}
    	return true
    }
    
    // isIAMPolicyReplicated returns true if count of replicated IAM policies matches total
    // number of sites and IAM policies are identical.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:09:56 GMT 2024
    - 184.2K bytes
    - Viewed (1)
  7. cmd/test-utils_test.go

    func prepareTestBackend(ctx context.Context, instanceType string) (ObjectLayer, []string, error) {
    	switch instanceType {
    	// Total number of disks for Erasure sets backend is set to 32.
    	case ErasureSetsTestStr:
    		return prepareErasureSets32(ctx)
    	// Total number of disks for Erasure backend is set to 16.
    	case ErasureTestStr:
    		return prepareErasure16(ctx)
    	default:
    		// return FS backend by default.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool-decom.go

    		poolInfo.Decommission.TotalSize = pi.Total
    		if poolInfo.Decommission.Failed || poolInfo.Decommission.Canceled {
    			poolInfo.Decommission.CurrentSize = pi.Free
    		} else {
    			poolInfo.Decommission.CurrentSize = poolInfo.Decommission.StartSize + poolInfo.Decommission.BytesDone
    		}
    	} else {
    		poolInfo.Decommission = &PoolDecommissionInfo{
    			TotalSize:   pi.Total,
    			CurrentSize: pi.Free,
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 41.5K bytes
    - Viewed (1)
  9. cni/pkg/nodeagent/informers_test.go

    	_, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	// wait for another two update events
    	// total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
    	mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(5))
    
    	waitForMockCalls()
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    			dcinfo := DiskInfo{}
    			di, err := getDiskInfo(s.drivePath)
    			if err != nil {
    				return dcinfo, err
    			}
    			dcinfo.Major = di.Major
    			dcinfo.Minor = di.Minor
    			dcinfo.Total = di.Total
    			dcinfo.Free = di.Free
    			dcinfo.Used = di.Used
    			dcinfo.UsedInodes = di.Files - di.Ffree
    			dcinfo.FreeInodes = di.Ffree
    			dcinfo.FSType = di.FSType
    			diskID, err := s.GetDiskID()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
Back to top