Automatically check whether to disable cache during prepare

This commit is contained in:
Vitaliy Filippov
2022-09-03 02:04:21 +03:00
parent bd11db5d0a
commit 9481456dfe
7 changed files with 98 additions and 80 deletions
+4 -4
View File
@@ -33,10 +33,10 @@ static const char *help_text =
" by the `/sys/block/.../queue/rotational` flag. In hybrid mode, default object\n"
" size is 1 MB instead of 128 KB, default journal size is 1 GB instead of 32 MB,\n"
" and throttle_small_writes is enabled by default.\n"
" --disable_data_fsync 1\n"
" Disable data device cache and fsync (1/yes/true = on, default on)\n"
" --disable_meta_fsync 1\n"
" Disable metadata/journal device cache and fsync (default on)\n"
" --disable_data_fsync auto\n"
" Disable data device cache and fsync (1/yes/true = on, default auto)\n"
" --disable_meta_fsync auto\n"
" Disable metadata/journal device cache and fsync (default auto)\n"
" --meta_reserve 2x,1G\n"
" New metadata partitions in --hybrid mode are created larger than actual\n"
" metadata size to ease possible future extension. The default is to allocate\n"