minio/pkg/disk
Harshavardhana 18ec933085
fix: for containers use root-disk detection cleverly (#11593)
root-disk implemented currently had issues where root
disk partitions getting modified might race and provide
incorrect results, to avoid this lets rely again back on
DeviceID and match it instead.

In-case of containers `/data` is one such extra entity that
needs to be verified for root disk, due to how 'overlay'
filesystem works and the 'overlay' presents a completely
different 'device' id - using `/data` as another entity
for fallback helps because our containers describe 'VOLUME'
parameter that allows containers to automatically have a
virtual `/data` that points to the container root path this
can either be at `/` or `/var/lib/` (on different partition)
2021-02-22 10:32:21 -08:00
..
directio_darwin.go Skip building directio on platforms that don't support Direct IO (#9059) 2020-03-12 18:57:41 -07:00
directio_unix.go Skip building directio on platforms that don't support Direct IO (#9059) 2020-03-12 18:57:41 -07:00
directio_unsupported.go fix: build on OpenBSD (#11384) 2021-02-01 09:48:49 -08:00
disk_test.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
disk_unix.go fix: for containers use root-disk detection cleverly (#11593) 2021-02-22 10:32:21 -08:00
disk_windows.go fix: for containers use root-disk detection cleverly (#11593) 2021-02-22 10:32:21 -08:00
disk.go fix: for containers use root-disk detection cleverly (#11593) 2021-02-22 10:32:21 -08:00
fdatasync_linux.go add additional fdatasync before close() on writes (#9947) 2020-07-01 10:57:23 -07:00
fdatasync_unix.go add additional fdatasync before close() on writes (#9947) 2020-07-01 10:57:23 -07:00
fdatasync_unsupported.go fix: build on OpenBSD (#11384) 2021-02-01 09:48:49 -08:00
health.go Rename OBD to Health (#10842) 2020-11-20 12:52:53 -08:00
root_disk.go fix: for containers use root-disk detection cleverly (#11593) 2021-02-22 10:32:21 -08:00
stat_bsd.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_linux_32bit.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_linux_s390x.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_linux.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_netbsd.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_openbsd.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_solaris.go pick disks which are common maximally used (#10600) 2020-09-29 22:54:02 -07:00
stat_windows.go fix: Allow Walk to honor load balanced drives (#10610) 2020-10-01 20:24:34 -07:00
type_bsd.go Replace Minio refs in docs with MinIO and links (#7494) 2019-04-09 11:39:42 -07:00
type_linux.go add ruleguard support, fix all the reported issues (#10335) 2020-08-24 12:11:20 -07:00
type_windows.go Allocate more buffer (#9683) 2020-05-26 12:35:40 -07:00