mirror of
https://github.com/pgsty/minio.git
synced 2026-07-19 20:20:25 +03:00
allow disabling O_DIRECT for write ops (#17751)
on really slow systems, O_DIRECT simply kills the drives allow for a way to disable them.
This commit is contained in:
@@ -94,7 +94,7 @@ var (
|
||||
},
|
||||
config.HelpKV{
|
||||
Key: apiDisableODirect,
|
||||
Description: "set to disable O_DIRECT for reads under special conditions. NOTE: it is not recommended to disable O_DIRECT without prior testing" + defaultHelpPostfix(apiDisableODirect),
|
||||
Description: "set to disable O_DIRECT for read and writes under special conditions. NOTE: it is not recommended to disable O_DIRECT without prior testing" + defaultHelpPostfix(apiDisableODirect),
|
||||
Optional: true,
|
||||
Type: "boolean",
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user