Report correct error when O_DIRECT is not supported (#9545)

fixes #9537
This commit is contained in:
Harshavardhana
2020-05-07 16:12:16 -07:00
committed by GitHub
parent 0674c0075e
commit 2dc46cb153
7 changed files with 47 additions and 6 deletions

View File

@@ -169,6 +169,12 @@ Example 1:
$ minio server /data/minio/`,
)
ErrUnsupportedBackend = newErrFn(
"Unable to write to the backend",
"Please ensure your disk supports O_DIRECT",
"",
)
ErrUnableToWriteInBackend = newErrFn(
"Unable to write to the backend",
"Please ensure MinIO binary has write permissions for the backend",