From: Greg Farnum Date: Thu, 3 Feb 2011 00:12:04 +0000 (-0800) Subject: config: add new osd_max_write_size option. X-Git-Tag: v0.25~223 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e22be43dca91d21e34ac1963a538a808bf44b898;p=ceph.git config: add new osd_max_write_size option. Signed-off-by: Greg Farnum --- diff --git a/src/config.cc b/src/config.cc index 12ae42863d42..10156a81f17e 100644 --- a/src/config.cc +++ b/src/config.cc @@ -449,6 +449,7 @@ static struct config_option config_optionsp[] = { OPTION(osd_data, 0, OPT_STR, ""), OPTION(osd_journal, 0, OPT_STR, ""), OPTION(osd_journal_size, 0, OPT_INT, 0), // in mb + OPTION(osd_max_write_size, 0, OPT_INT, 90), OPTION(osd_balance_reads, 0, OPT_BOOL, false), OPTION(osd_flash_crowd_iat_threshold, 0, OPT_INT, 0), OPTION(osd_flash_crowd_iat_alpha, 0, OPT_DOUBLE, 0.125), diff --git a/src/config.h b/src/config.h index 13eaf2d740fb..9de3412a10fd 100644 --- a/src/config.h +++ b/src/config.h @@ -353,6 +353,7 @@ struct md_config_t { const char *osd_data; const char *osd_journal; int osd_journal_size; // in mb + int osd_max_write_size; // in MB bool osd_balance_reads; int osd_flash_crowd_iat_threshold; // flash crowd interarrival time threshold in ms double osd_flash_crowd_iat_alpha;