mirror of
https://github.com/minio/minio.git
synced 2026-11-23 07:15:47 +00:00
Preserve errors returned by diskInfo to detect disk errors (#9727)
This PR basically reverts #9720 and re-implements it differently
This commit is contained in:
1 parent
b330c2c57e
commit
b2db8123ec
20 files changed
+152
-134
No files matched your search
@@ -413,6 +413,7 @@ type DiskInfo struct {
|
||||
Used uint64
|
||||
RootDisk bool
|
||||
MountPath string
|
||||
Error string // reports any error returned by underlying disk
|
||||
}
|
||||
|
||||
// DiskInfo provides current information about disk space usage,
|
||||
|
||||
Reference in new issue
Block a user