Use O_DIRECT while writing to disk (#7479)

- Use O_DIRECT while writing to disk
- Remove MINIO_DRIVE_SYNC option
This commit is contained in:
Krishna Srinivas
2019-04-23 21:25:06 -07:00
committed by Harshavardhana
parent ab711fe1a2
commit a3ec71bc28
6 changed files with 226 additions and 31 deletions

1
go.mod
View File

@@ -69,6 +69,7 @@ require (
github.com/nats-io/nats v1.7.2
github.com/nats-io/nkeys v0.0.2 // indirect
github.com/nats-io/nuid v1.0.1 // indirect
github.com/ncw/directio v1.0.5
github.com/nsqio/go-nsq v1.0.7
github.com/pascaldekloe/goe v0.1.0 // indirect
github.com/pkg/errors v0.8.1 // indirect