mirror of
https://github.com/pgsty/minio.git
synced 2026-07-21 13:10:22 +03:00
cache DiskInfo at storage layer for performance (#10586)
`mc admin info` on busy setups will not move HDD heads unnecessarily for repeated calls, provides a better responsiveness for the call overall. Bonus change allow listTolerancePerSet be N-1 for good entries, to avoid skipping entries for some reason one of the disk went offline.
This commit is contained in:
@@ -28,7 +28,7 @@ verifiers: getdeps fmt lint ruleguard check-gen
|
||||
|
||||
check-gen:
|
||||
@go generate ./... >/dev/null
|
||||
@git diff --exit-code >/dev/null || echo "Non-committed changes in auto-generated code are detected, please check."
|
||||
@git diff --exit-code >/dev/null || echo "Non-committed changes detected, please commit them to proceed."
|
||||
|
||||
fmt:
|
||||
@echo "Running $@ check"
|
||||
|
||||
Reference in New Issue
Block a user