]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
osd: target transaction size 300 -> 30
authorSage Weil <sage@inktank.com>
Tue, 22 Jan 2013 04:00:26 +0000 (20:00 -0800)
committerSage Weil <sage@inktank.com>
Tue, 22 Jan 2013 22:47:39 +0000 (14:47 -0800)
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 <sage@inktank.com>
src/common/config_opts.h

index fc34cbca6e1d44116c991cc111c60f023b0996ed..a4af680dcd6dcfd3bd0d6a296dd7cc8a25fe03ee 100644 (file)
@@ -370,7 +370,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