mirror of
https://github.com/minio/minio.git
synced 2024-12-25 06:35:56 -05:00
25de775560
disk usage crawling is not needed when a tenant is not sharing the same disk for multiple other tenants. This PR adds an optimization when we see a setup uses entire disk, we simply rely on statvfs() to give us total usage. This PR also additionally adds low priority scheduling for usage check routine, such that other go-routines blocked will be automatically unblocked and prioritized before usage. |
||
---|---|---|
.. | ||
mountinfo_linux_test.go | ||
mountinfo_linux.go | ||
mountinfo_others.go | ||
mountinfo_windows.go | ||
mountinfo.go |