From: Jaya Prakash Date: Mon, 16 Mar 2026 19:23:05 +0000 (+0000) Subject: common/options: add bluefs_spillover_cleaner option X-Git-Tag: v21.0.1~85^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=db6e0faa294933434061da3a2e6f7343824b83b5;p=ceph.git common/options: add bluefs_spillover_cleaner option Fixes: https://tracker.ceph.com/issues/74319 Signed-off-by: Jaya Prakash --- diff --git a/src/common/options/global.yaml.in b/src/common/options/global.yaml.in index 5e583932b4c..bcadaa1cdce 100644 --- a/src/common/options/global.yaml.in +++ b/src/common/options/global.yaml.in @@ -4373,6 +4373,47 @@ options: flags: - startup with_legacy: true +- name: bluefs_spillover_cleaner + type: bool + level: advanced + desc: Enable Background BlueFS Spillover cleaner thread + long_desc: Enables a background cleaner thread in BlueFS that periodically scans files + that spilled over to the slow device and attempts to migrate them back to the + BlueFS DB device + default: false + see_also: + - bluefs_spillover_idle_time + - bluefs_spillover_cleaner_work_ratio + flags: + - runtime + with_legacy: true +- name: bluefs_spillover_idle_time + type: uint + level: advanced + desc: Idle time in seconds before the BlueFS spillover cleaner wakes + up for the next scan cycle. + long_desc: When no spillover files remain to migrate, the cleaner enters an idle + sleep state for this duration. Once the idle period expires, it wakes up, scans + for spillover files, and resumes migration if needed. + default: 1200 + see_also: + - bluefs_spillover_cleaner + flags: + - runtime + with_legacy: true +- name: bluefs_spillover_cleaner_work_ratio + type: float + level: advanced + desc: Fraction of time the BlueFS spillover cleaner spends performing work. + long_desc: Controls the rate of spillover migration work. After each migration + step, the cleaner targets to sleep proportionally to the time spent doing work + This reduces interference with foreground IO. For example, if a migration step + took 10 ms and the ratio is 0.1, the cleaner sleeps for ~90 ms before the next + step. This results in approximately 10% work time and 90% sleep time. + default: 0.1 + flags: + - runtime + with_legacy: true - name: bluestore_bluefs type: bool level: dev