mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Report correct error when O_DIRECT is not supported (#9545)
fixes #9537
This commit is contained in:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user