mirror of https://github.com/minio/minio.git
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.go | ||
mountinfo_linux.go | ||
mountinfo_linux_test.go | ||
mountinfo_others.go | ||
mountinfo_windows.go |