mirror of https://github.com/minio/minio.git
parent
e9bc0e7e98
commit
c1760fb764
|
@ -71,14 +71,11 @@ const (
|
||||||
|
|
||||||
// Detects change in underlying disk.
|
// Detects change in underlying disk.
|
||||||
type xlStorageDiskIDCheck struct {
|
type xlStorageDiskIDCheck struct {
|
||||||
// fields position optimized for memory please
|
// apiCalls should be placed first so alignment is guaranteed for atomic operations.
|
||||||
// do not re-order them, if you add new fields
|
apiCalls [storageMetricLast]uint64
|
||||||
// please use `fieldalignment ./...` to check
|
|
||||||
// if your changes are not causing any problems.
|
|
||||||
storage *xlStorage
|
|
||||||
apiLatencies [storageMetricLast]*lockedLastMinuteLatency
|
apiLatencies [storageMetricLast]*lockedLastMinuteLatency
|
||||||
diskID string
|
diskID string
|
||||||
apiCalls [storageMetricLast]uint64
|
storage *xlStorage
|
||||||
health *diskHealthTracker
|
health *diskHealthTracker
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue