Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for total_writes (0.25 sec)

  1. cmd/xl-storage.go

    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    func (s *xlStorage) getWriteAttribute() uint64 {
    	attr := "user.total_writes"
    	buf, err := xattr.LGet(s.formatFile, attr)
    	if err != nil {
    		// We start off with '0' if we can read the attributes
    		return 0
    	}
    
    	return binary.LittleEndian.Uint64(buf[:8])
    }
    
    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)
  2. cmd/xl-storage-disk-id-check.go

    	}
    
    	si := p.updateStorageMetrics(storageMetricDiskInfo)
    	defer si(&err)
    
    	if opts.NoOp {
    		if opts.Metrics {
    			info.Metrics = p.getMetrics()
    		}
    		info.Metrics.TotalWrites = p.totalWrites.Load()
    		info.Metrics.TotalDeletes = p.totalDeletes.Load()
    		info.Metrics.TotalWaiting = uint32(p.health.waiting.Load())
    		info.Metrics.TotalErrorsTimeout = p.totalErrsTimeout.Load()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  3. cmd/storage-datatypes.go

    	TotalErrorsAvailability uint64             `json:"totalErrsAvailability"`
    	TotalErrorsTimeout      uint64             `json:"totalErrsTimeout"`
    	TotalWrites             uint64             `json:"totalWrites"`
    	TotalDeletes            uint64             `json:"totalDeletes"`
    }
    
    // VolsInfo is a collection of volume(bucket) information
    type VolsInfo []VolInfo
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	deletes := make([]uint64, len(infos))
    	writes := make([]uint64, len(infos))
    	for index, di := range infos {
    		deletes[index] = di.Metrics.TotalDeletes
    		writes[index] = di.Metrics.TotalWrites
    	}
    
    	filter := func(list []uint64) (commonCount uint64) {
    		max := 0
    		signatureMap := map[uint64]int{}
    		for _, v := range list {
    			signatureMap[v]++
    		}
    		for ops, count := range signatureMap {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    			z.TotalErrorsTimeout, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalErrorsTimeout")
    				return
    			}
    		case "TotalWrites":
    			z.TotalWrites, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalWrites")
    				return
    			}
    		case "TotalDeletes":
    			z.TotalDeletes, err = dc.ReadUint64()
    			if err != nil {
    				err = msgp.WrapError(err, "TotalDeletes")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
Back to top