From f021e5b082a2a505124e14c0eb1ad1347693098a Mon Sep 17 00:00:00 2001 From: Derek Bruening Date: Thu, 4 Apr 2019 10:18:19 -0400 Subject: [PATCH] Change -cache_commit_increment to uint_size to accept prefixes Updates the -cache_commit_increment option which was accidentally a "uint" to be a "uint_size" option, so we can specify K and M prefixes for much easier use. --- core/optionsx.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/optionsx.h b/core/optionsx.h index 3570e626c70..62b34620135 100644 --- a/core/optionsx.h +++ b/core/optionsx.h @@ -1180,7 +1180,7 @@ DYNAMIC_OPTION(bool, pause_via_loop, /* heap_commit_increment may be adjusted by adjust_defaults_for_page_size(). */ OPTION_DEFAULT(uint_size, heap_commit_increment, 4*1024, "heap commit increment") /* cache_commit_increment may be adjusted by adjust_defaults_for_page_size(). */ - OPTION_DEFAULT(uint, cache_commit_increment, 4*1024, "cache commit increment") + OPTION_DEFAULT(uint_size, cache_commit_increment, 4*1024, "cache commit increment") /* cache capacity control * FIXME: these are external for now while we study the right way to