Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Rotational (0.16 sec)

  1. internal/disk/stat_linux.go

    						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
    }
    
    // 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
    - 4.8K bytes
    - Viewed (0)
  2. internal/disk/disk.go

    type Info struct {
    	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
    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)
  3. cmd/xl-storage.go

    		}
    	}
    
    	// 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{}
    	}
    
    	if cleanUp {
    		bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data.
    	}
    
    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)
  4. cmd/storage-datatypes_gen.go

    		err = msgp.WrapError(err, "MountPath")
    		return
    	}
    	z.ID, err = dc.ReadString()
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	z.Rotational, err = dc.ReadBool()
    	if err != nil {
    		err = msgp.WrapError(err, "Rotational")
    		return
    	}
    	err = z.Metrics.DecodeMsg(dc)
    	if err != nil {
    		err = msgp.WrapError(err, "Metrics")
    		return
    	}
    	z.Error, err = dc.ReadString()
    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)
  5. cmd/storage-datatypes.go

    	Major      uint32
    	Minor      uint32
    	NRRequests uint64
    	FSType     string
    	RootDisk   bool
    	Healing    bool
    	Scanning   bool
    	Endpoint   string
    	MountPath  string
    	ID         string
    	Rotational bool
    	Metrics    DiskMetrics
    	Error      string // carries the error over the network
    }
    
    // DiskMetrics has the information about XL Storage APIs
    // the number of calls of each API and the moving average of
    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)
Back to top