From f47b2e8b607cc0d56a42ec7b1465ce6b8c0ca68c Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Mon, 21 Jan 2013 20:00:26 -0800 Subject: [PATCH] osd: target transaction size 300 -> 30 Small transactions make pg removal nicer to the op queue. It also slows down PG deletion a bit, which may exacerbate the PG resurrection case until #3884 is addressed. At least on user reported this fixed an osd that kept failing due to an internal heartbeat failure. Signed-off-by: Sage Weil (cherry picked from commit 1233e8617098766c95100aa9a6a07db1a688e290) --- src/common/config_opts.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/config_opts.h b/src/common/config_opts.h index 00f0eadf7556c..fb8b3b2b9601b 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -367,7 +367,7 @@ OPTION(osd_debug_drop_pg_create_duration, OPT_INT, 1) OPTION(osd_debug_drop_op_probability, OPT_DOUBLE, 0) // probability of stalling/dropping a client op OPTION(osd_op_history_size, OPT_U32, 20) // Max number of completed ops to track OPTION(osd_op_history_duration, OPT_U32, 600) // Oldest completed op to track -OPTION(osd_target_transaction_size, OPT_INT, 300) // to adjust various transactions that batch smaller items +OPTION(osd_target_transaction_size, OPT_INT, 30) // to adjust various transactions that batch smaller items /** * osd_client_op_priority and osd_recovery_op_priority adjust the relative -- 2.39.5