minio/internal/ioutil
Harshavardhana 5a9f133491
speed up startup sequence for all operations (#14148)
This speed-up is intended for faster startup times
for almost all MinIO operations. Changes here are

- Drives are not re-read for 'format.json' on a regular
  basis once read during init is remembered and refreshed
  at 5 second intervals.

- Do not do O_DIRECT tests on drives with existing 'format.json'
  only fresh setups need this check.

- Parallelize initializing erasureSets for multiple sets.

- Avoid re-reading format.json when migrating 'format.json'
  from really old V1->V2->V3

- Keep a copy of local drives for any given server in memory
  for a quick lookup.
2022-01-24 11:28:45 -08:00
..
append-file_nix.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
append-file_windows.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
ioutil.go speed up startup sequence for all operations (#14148) 2022-01-24 11:28:45 -08:00
ioutil_test.go run gofumpt cleanup across code-base (#14015) 2022-01-02 09:15:06 -08:00
odirect_reader.go directio: Check if buffers are set. (#13440) 2021-10-14 10:19:17 -07:00
read_file.go speed up startup sequence for all operations (#14148) 2022-01-24 11:28:45 -08:00
read_file_noatime_notsupported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
read_file_noatime_supported.go fix: enable go1.17 github ci/cd (#12997) 2021-08-18 18:35:22 -07:00
wait_pipe.go rename all remaining packages to internal/ (#12418) 2021-06-01 14:59:40 -07:00