mirror of
https://github.com/minio/minio.git
synced 2026-11-13 22:45:16 +00:00
pick disks which are common maximally used (#10600)
further optimization to ensure that good disks are always used for listing, other than healing we only use disks that are maximally used.
This commit is contained in:
1 parent
799758e54f
commit
2b4eb87d77
15 files changed
+70
-16
No files matched your search
+1
-1
@@ -479,7 +479,7 @@ func (s *xlStorage) DiskInfo(context.Context) (info DiskInfo, err error) {
|
||||
}
|
||||
dcinfo.Total = di.Total
|
||||
dcinfo.Free = di.Free
|
||||
dcinfo.Used = di.Total - di.Free
|
||||
dcinfo.Used = di.Used
|
||||
dcinfo.FSType = di.FSType
|
||||
|
||||
diskID, err := s.GetDiskID()
|
||||
|
||||
Reference in new issue
Block a user