OPTION(osd_kill_backfill_at, OPT_INT, 0)
OPTION(osd_min_pg_log_entries, OPT_U32, 1000) // number of entries to keep in the pg log when trimming it
OPTION(osd_op_complaint_time, OPT_FLOAT, 30) // how many seconds old makes an op complaint-worthy
+OPTION(osd_command_max_records, OPT_INT, 256)
OPTION(filestore, OPT_BOOL, false)
OPTION(filestore_max_sync_interval, OPT_DOUBLE, 5) // seconds
OPTION(filestore_min_sync_interval, OPT_DOUBLE, .01) // seconds
uint32_t num = 0;
set<int> empty;
bufferlist bl;
- while (p != missing.missing.end() && num < 5) {
+ while (p != missing.missing.end() && num < g_conf->osd_command_max_records) {
jf.open_object_section("object");
jf.open_object_section("oid");
p->first.dump(&jf);