Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for NRRequests (0.44 sec)

  1. internal/disk/stat_linux.go

    					if e == nil {
    						parentDev := filepath.Base(filepath.Dir(parentDevPath))
    						qst, err = bfs.SysBlockDeviceQueueStats(parentDev)
    					}
    				}
    				if err == nil {
    					info.NRRequests = qst.NRRequests
    					rot := qst.Rotational == 1 // Rotational is '1' if the device is HDD
    					info.Rotational = &rot
    				}
    			}
    		}
    	}
    
    	return info, nil
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  2. internal/disk/disk.go

    	Total      uint64
    	Free       uint64
    	Used       uint64
    	Files      uint64
    	Ffree      uint64
    	FSType     string
    	Major      uint32
    	Minor      uint32
    	Name       string
    	Rotational *bool
    	NRRequests uint64
    }
    
    // IOStats contains stats of a single drive
    type IOStats struct {
    	ReadIOs        uint64
    	ReadMerges     uint64
    	ReadSectors    uint64
    	ReadTicks      uint64
    	WriteIOs       uint64
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. cmd/global-heal.go

    		return fmt.Errorf("unable to get disk information before healing it: %w", err)
    	}
    
    	var numHealers uint64
    
    	if numCores := uint64(runtime.GOMAXPROCS(0)); info.NRRequests > numCores {
    		numHealers = numCores / 4
    	} else {
    		numHealers = info.NRRequests / 4
    	}
    	if numHealers < 4 {
    		numHealers = 4
    	}
    	// allow overriding this value as well..
    	if v := globalHealConfig.GetWorkers(); v > 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 06:32:14 GMT 2024
    - 15K bytes
    - Viewed (1)
  4. cmd/xl-storage.go

    			if err != nil {
    				return nil, err
    			}
    		}
    		if rootDrive {
    			return s, errDriveIsRoot
    		}
    	}
    
    	// Sanitize before setting it
    	if info.NRRequests > 0 {
    		s.nrRequests = info.NRRequests
    	}
    
    	// We stagger listings only on HDDs.
    	if info.Rotational == nil || *info.Rotational {
    		s.rotational = true
    		s.walkMu = &sync.Mutex{}
    		s.walkReadMu = &sync.Mutex{}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 84.7K bytes
    - Viewed (0)
  5. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "Major")
    		return
    	}
    	z.Minor, err = dc.ReadUint32()
    	if err != nil {
    		err = msgp.WrapError(err, "Minor")
    		return
    	}
    	z.NRRequests, err = dc.ReadUint64()
    	if err != nil {
    		err = msgp.WrapError(err, "NRRequests")
    		return
    	}
    	z.FSType, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "FSType")
    		return
    	}
    	z.RootDisk, err = dc.ReadBool()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 127.5K bytes
    - Viewed (0)
  6. cmd/storage-datatypes.go

    //
    //msgp:tuple DiskInfo
    type DiskInfo struct {
    	Total      uint64
    	Free       uint64
    	Used       uint64
    	UsedInodes uint64
    	FreeInodes uint64
    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 15.3K bytes
    - Viewed (0)
Back to top