minio/pkg/mountinfo
Harshavardhana 25de775560 disable disk-usage when export is root mount path (#6091)
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.
2018-06-27 18:59:38 -07:00
..
mountinfo.go Fail to start server if detected cross-device mounts. (#4807) 2017-08-15 15:10:50 -07:00
mountinfo_linux.go disable disk-usage when export is root mount path (#6091) 2018-06-27 18:59:38 -07:00
mountinfo_linux_test.go Fail to start server if detected cross-device mounts. (#4807) 2017-08-15 15:10:50 -07:00
mountinfo_others.go disable disk-usage when export is root mount path (#6091) 2018-06-27 18:59:38 -07:00
mountinfo_windows.go disable disk-usage when export is root mount path (#6091) 2018-06-27 18:59:38 -07:00