]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: introduce a cooldown period for failed BlueFS allocations. 52212/head
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 11 Nov 2022 14:31:19 +0000 (17:31 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Mon, 7 Aug 2023 09:25:18 +0000 (12:25 +0300)
commitc6272752e78f366e0fe1744c74d541d6bdb105ee
tree4233bf209edf2a82dbdf357d115a7006e437aea8
parentaed3f48a964ed1ddb3d47a4d4735188dd5625efb
os/bluestore: introduce a cooldown period for failed BlueFS allocations.

When using bluefs_shared_alloc_size one might get a long-lasting state when
that large chunks are not available any more and fallback to shared
device min alloc size occurs. The introduced cooldown is intended to
prevent repetitive allocation attempts with bluefs_shared_alloc_size for
a while. The rationale is to eliminate performance penalty these failing
attempts might cause.

Signed-off-by: Igor Fedotov <igor.fedotov@croit.io>
(cherry picked from commit e52bcc852ce51ab99138420f9069e2f59e1cb706)

 Conflicts:
src/common/options/global.yaml.in
 (legacy options declarations, no yamls in pacific)
src/common/legacy_config_opts.h
src/common/options.cc
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h