Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 106 for atTotal (0.16 sec)

  1. cmd/erasure-server-pool.go

    	serverPools.FilterMaxUsed(100 - (100 * diskReserveFraction))
    	total := serverPools.TotalAvailable()
    	if total == 0 {
    		return -1
    	}
    	// choose when we reach this many
    	choose := rand.Uint64() % total
    	atTotal := uint64(0)
    	for _, pool := range serverPools {
    		atTotal += pool.Available
    		if atTotal > choose && pool.Available > 0 {
    			return pool.Index
    		}
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  2. cmd/data-usage-utils.go

    	// Total size for objects that have witness one or more failures and will be retried
    	ReplicationFailedSizeV1 uint64 `json:"objectsFailedReplicationTotalSize"`
    	// Total size for objects that have been replicated to destination
    	ReplicatedSizeV1 uint64 `json:"objectsReplicatedTotalSize"`
    	// Total number of objects pending replication
    	ReplicationPendingCountV1 uint64 `json:"objectsPendingReplicationCount"`
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 09:15:15 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  3. internal/disk/stat_bsd.go

    		Files:  s.Files,
    		Ffree:  s.Ffree,
    		FSType: getFSType(s.Fstypename[:]),
    	}
    	if info.Free > info.Total {
    		return info, fmt.Errorf("detected free space (%d) > total drive space (%d), fs corruption at (%s). please run 'fsck'", info.Free, info.Total, path)
    	}
    	info.Used = info.Total - info.Free
    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  4. cmd/local-locker_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Total":
    			z.Total, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Total")
    				return
    			}
    		case "Writes":
    			z.Writes, err = dc.ReadInt()
    			if err != nil {
    				err = msgp.WrapError(err, "Writes")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Mar 21 17:21:35 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  5. cmd/metrics-resource.go

    		percUtil:          "Percentage of time the disk was busy",
    		usedBytes:         "Used bytes on a drive",
    		totalBytes:        "Total bytes on a drive",
    		usedInodes:        "Total inodes used on a drive",
    		totalInodes:       "Total inodes on a drive",
    		cpuUser:           "CPU user time",
    		cpuSystem:         "CPU system time",
    		cpuIdle:           "CPU idle time",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 23:56:12 GMT 2024
    - 17.4K bytes
    - Viewed (0)
  6. 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)
  7. cmd/erasure-utils.go

    	}
    
    	// Do we have enough data?
    	if int64(getDataBlockLen(enBlocks, dataBlocks)) < length {
    		return 0, reedsolomon.ErrShortData
    	}
    
    	// Counter to decrement total left to write.
    	write := length
    
    	// Counter to increment total written.
    	var totalWritten int64
    
    	// Write all data blocks to dst.
    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 02:11:45 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  8. cmd/object-api-utils.go

    		size = diskAssumeUnknownSize
    	}
    
    	var available uint64
    	var total uint64
    	var nDisks int
    	for _, disk := range di {
    		if disk == nil || disk.Total == 0 {
    			// Disk offline, no inodes or something else is wrong.
    			continue
    		}
    		nDisks++
    		total += disk.Total
    		available += disk.Total - disk.Used
    	}
    
    	if nDisks < len(di)/2 || nDisks <= 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  9. cmd/speedtest.go

    		if opts.autotune {
    			// if we have less drives than concurrency then choose
    			// only the concurrency to be number of drives to start
    			// with - since default '32' might be big and may not
    			// complete in total time of 10s.
    			if globalEndpoints.NEndpoints() < concurrency {
    				concurrency = globalEndpoints.NEndpoints()
    			}
    
    			// Check if we have local disks per pool less than
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Jan 28 18:04:17 GMT 2024
    - 9K bytes
    - Viewed (0)
  10. 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)
Back to top