mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
Updating disk storage for FS/Erasure mode (#6081)
Updating the disk storage stats for FS/Erasure coded backend
This commit is contained in:
committed by
kannappanr
parent
78abe5234e
commit
0bbdd02a57
@@ -359,6 +359,7 @@ func (s *posix) diskUsage(doneCh chan struct{}) {
|
||||
if err := getDiskUsage(context.Background(), s.diskPath, usageFn); err != nil {
|
||||
return
|
||||
}
|
||||
atomic.StoreInt32(&s.usageRunning, 0)
|
||||
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user