]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: introduce a cooldown period for failed BlueFS allocations. 49884/head
authorIgor Fedotov <igor.fedotov@croit.io>
Fri, 11 Nov 2022 14:31:19 +0000 (17:31 +0300)
committerIgor Fedotov <igor.fedotov@croit.io>
Fri, 27 Jan 2023 14:31:10 +0000 (17:31 +0300)
commit32f63579c7d86a054c55a032ab218a8e8886f3da
treedc28cbc5c440870720849b75a0e9d8edbfefeb0c
parent969e27e3ea63af6067ac7bd2a171810987342b51
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)
src/common/options/global.yaml.in
src/os/bluestore/BlueFS.cc
src/os/bluestore/BlueFS.h