- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for Rotational (0.11 sec)
-
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 4.8K bytes - Viewed (0) -
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Feb 26 19:34:50 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/xl-storage.go
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{} } if cleanUp { bgFormatErasureCleanupTmp(s.drivePath) // cleanup any old data. }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Oct 26 09:58:27 UTC 2024 - 91.3K bytes - Viewed (0) -
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
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 17.3K bytes - Viewed (0) -
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()
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 150.2K bytes - Viewed (0)