From: Yingxin Cheng Date: Fri, 24 Jun 2022 03:04:50 +0000 (+0800) Subject: crimson/os/seastore/segment_cleaner: increase avaliable ratio limit X-Git-Tag: v18.0.0~606^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=f150c20d499691404ccb146bca6abc890cba2450;p=ceph.git crimson/os/seastore/segment_cleaner: increase avaliable ratio limit Journal trimming may consume unexpected number of segments when the available ratio limit is reached with user transactions blocked, causing ceph_abort(). So increase the limit as a simple workaround. Signed-off-by: Yingxin Cheng --- diff --git a/src/crimson/os/seastore/async_cleaner.h b/src/crimson/os/seastore/async_cleaner.h index c75ee6a23510d..2d7a73890cb55 100644 --- a/src/crimson/os/seastore/async_cleaner.h +++ b/src/crimson/os/seastore/async_cleaner.h @@ -546,8 +546,8 @@ public: 12, // target_journal_segments 16, // max_journal_segments 2, // target_backref_inflight_segments - .1, // available_ratio_gc_max - .05, // available_ratio_hard_limit + .15, // available_ratio_gc_max + .1, // available_ratio_hard_limit .1, // reclaim_ratio_gc_threshold 1<<20,// reclaim_bytes_per_cycle 1<<17,// rewrite_dirty_bytes_per_cycle