]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/async_cleaner: set different threshold for starting
authorXuehan Xu <xuxuehan@qianxin.com>
Tue, 27 May 2025 07:54:58 +0000 (15:54 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Tue, 10 Jun 2025 01:12:22 +0000 (09:12 +0800)
commitcdcce0d374e0f09435fd7500c395b7853962cd1f
tree16deb256bce5588859155cff98adcc63fc00e6b6
parent07909384babfc51bab637557f7a15e7ed634bd2c
crimson/os/seastore/async_cleaner: set different threshold for starting
and stopping trimming dirty

At present, the trim_dirty starts and stops at the same threshold
*target_dirty_bytes*, which leads to very frequent *trim_dirty*
operations that further invalidate transactions.

We've observed that long read transactions kept being invalidated by
*trim_dirty*, which led to starvations.

Fixes: https://tracker.ceph.com/issues/71443
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/crimson/os/seastore/async_cleaner.cc
src/crimson/os/seastore/async_cleaner.h