diff options
author | Sage Weil <sage@inktank.com> | 2013-01-21 20:00:26 -0800 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-01-22 14:47:39 -0800 |
commit | 1233e8617098766c95100aa9a6a07db1a688e290 (patch) | |
tree | d8a44dfadacedde1fb1cab76b935dff48d1af3e0 | |
parent | 44dca5c8c5058acf9bc391303dc77893793ce0be (diff) | |
download | ceph-1233e8617098766c95100aa9a6a07db1a688e290.tar.gz |
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 <sage@inktank.com>
-rw-r--r-- | src/common/config_opts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/config_opts.h b/src/common/config_opts.h index fc34cbca6e1..a4af680dcd6 100644 --- a/src/common/config_opts.h +++ b/src/common/config_opts.h @@ -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 |