minio/pkg/ioutil
Harshavardhana 60b0f2324e
storage write call path optimizations (#11805)
- write in o_dsync instead of o_direct for smaller
  objects to avoid unaligned double Write() situations
  that may arise for smaller objects < 128KiB
- avoid fallocate() as its not useful since we do not
  use Append() semantics anymore, fallocate is not useful
  for streaming I/O we can save on a syscall
- createFile() doesn't need to validate `bucket` name
  with a Lstat() call since createFile() is only used
  to write at `minioTmpBucket`
- use io.Copy() when writing unAligned writes to allow
  usage of ReadFrom() from *os.File providing zero
  buffer writes().
2021-03-17 09:38:38 -07:00
..
append-file_nix.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
append-file_windows.go fix: use buffers only when necessary for io.Copy() (#11229) 2021-01-06 09:36:55 -08:00
ioutil_test.go add option for O_SYNC writes for standalone FS backend (#9581) 2020-05-12 19:24:59 -07:00
ioutil.go storage write call path optimizations (#11805) 2021-03-17 09:38:38 -07:00
read_file_noatime_notsupported.go fix: runtime issue on FreeBSD due to missing O_NOATIME/O_DSYNC support (#11790) 2021-03-15 14:02:36 -07:00
read_file_noatime_supported.go fix: runtime issue on FreeBSD due to missing O_NOATIME/O_DSYNC support (#11790) 2021-03-15 14:02:36 -07:00
read_file.go [feat]: use DSYNC for xl.meta writes and NOATIME for reads (#11615) 2021-02-24 00:14:16 -08:00