]> 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)
committerSamuel Just <sam.just@inktank.com>
Sat, 26 Jan 2013 01:15:48 +0000 (17:15 -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>
(cherry picked from commit 1233e8617098766c95100aa9a6a07db1a688e290)

src/common/config_opts.h

index 00f0eadf7556cfb0a424b11d9e217b1ec85f591f..fb8b3b2b9601bf5818c12974fb7f42ca95c813f3 100644 (file)
@@ -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