Save cached_read_* in superblock
parent
8c4a11b51c
commit
37d14e35f3
|
@ -102,8 +102,9 @@ checks the device cache status on start and tries to disable cache for SATA/SAS
|
||||||
If it doesn't succeed it issues a warning in the system log.
|
If it doesn't succeed it issues a warning in the system log.
|
||||||
|
|
||||||
You can also pass other OSD options here as arguments and they'll be persisted
|
You can also pass other OSD options here as arguments and they'll be persisted
|
||||||
to the superblock: max_write_iodepth, max_write_iodepth, min_flusher_count,
|
in the superblock: cached_read_data, cached_read_meta, cached_read_journal,
|
||||||
max_flusher_count, inmemory_metadata, inmemory_journal, journal_sector_buffer_count,
|
inmemory_metadata, inmemory_journal, max_write_iodepth,
|
||||||
|
min_flusher_count, max_flusher_count, journal_sector_buffer_count,
|
||||||
journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,
|
journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,
|
||||||
throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.
|
throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.
|
||||||
See [Runtime OSD Parameters](../config/osd.en.md) for details.
|
See [Runtime OSD Parameters](../config/osd.en.md) for details.
|
||||||
|
|
|
@ -103,8 +103,9 @@ vitastor-disk - инструмент командной строки для уп
|
||||||
это не удаётся, в системный журнал выводится предупреждение.
|
это не удаётся, в системный журнал выводится предупреждение.
|
||||||
|
|
||||||
Вы можете передать данной команде и некоторые другие опции OSD в качестве аргументов
|
Вы можете передать данной команде и некоторые другие опции OSD в качестве аргументов
|
||||||
и они тоже будут сохранены в суперблок: max_write_iodepth, max_write_iodepth, min_flusher_count,
|
и они тоже будут сохранены в суперблок: cached_read_data, cached_read_meta,
|
||||||
max_flusher_count, inmemory_metadata, inmemory_journal, journal_sector_buffer_count,
|
cached_read_journal, inmemory_metadata, inmemory_journal, max_write_iodepth,
|
||||||
|
min_flusher_count, max_flusher_count, journal_sector_buffer_count,
|
||||||
journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,
|
journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,
|
||||||
throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.
|
throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.
|
||||||
Читайте об этих параметрах подробнее в разделе [Изменяемые параметры OSD](../config/osd.ru.md).
|
Читайте об этих параметрах подробнее в разделе [Изменяемые параметры OSD](../config/osd.ru.md).
|
||||||
|
|
|
@ -74,8 +74,9 @@ static const char *help_text =
|
||||||
" If it doesn't succeed it issues a warning in the system log.\n"
|
" If it doesn't succeed it issues a warning in the system log.\n"
|
||||||
" \n"
|
" \n"
|
||||||
" You can also pass other OSD options here as arguments and they'll be persisted\n"
|
" You can also pass other OSD options here as arguments and they'll be persisted\n"
|
||||||
" to the superblock: max_write_iodepth, max_write_iodepth, min_flusher_count,\n"
|
" in the superblock: cached_read_data, cached_read_meta, cached_read_journal,\n"
|
||||||
" max_flusher_count, inmemory_metadata, inmemory_journal, journal_sector_buffer_count,\n"
|
" inmemory_metadata, inmemory_journal, max_write_iodepth,\n"
|
||||||
|
" min_flusher_count, max_flusher_count, journal_sector_buffer_count,\n"
|
||||||
" journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,\n"
|
" journal_no_same_sector_overwrites, throttle_small_writes, throttle_target_iops,\n"
|
||||||
" throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.\n"
|
" throttle_target_mbs, throttle_target_parallelism, throttle_threshold_us.\n"
|
||||||
"\n"
|
"\n"
|
||||||
|
|
|
@ -8,6 +8,9 @@
|
||||||
int disk_tool_t::prepare_one(std::map<std::string, std::string> options, int is_hdd)
|
int disk_tool_t::prepare_one(std::map<std::string, std::string> options, int is_hdd)
|
||||||
{
|
{
|
||||||
static const char *allow_additional_params[] = {
|
static const char *allow_additional_params[] = {
|
||||||
|
"cached_read_data",
|
||||||
|
"cached_read_meta",
|
||||||
|
"cached_read_journal",
|
||||||
"max_write_iodepth",
|
"max_write_iodepth",
|
||||||
"max_write_iodepth",
|
"max_write_iodepth",
|
||||||
"min_flusher_count",
|
"min_flusher_count",
|
||||||
|
|
Loading…
Reference in New Issue