Skip to content

Commit

Permalink
Merge pull request #48854 from ifed01/wip-ifed-small-chunk-bluefs
Browse files Browse the repository at this point in the history
os/bluestore: enable 4K allocation unit for BlueFS
  • Loading branch information
yuriw committed Jan 25, 2023
2 parents 65fb727 + e52bcc8 commit c0309cf
Show file tree
Hide file tree
Showing 7 changed files with 917 additions and 386 deletions.
14 changes: 13 additions & 1 deletion src/common/options/global.yaml.in
Expand Up @@ -4055,6 +4055,18 @@ options:
desc: Allocation unit size for primary/shared device
default: 64_K
with_legacy: true
- name: bluefs_failed_shared_alloc_cooldown
type: float
level: advanced
desc: duration(in seconds) untill the next attempt to use
'bluefs_shared_alloc_size' after facing ENOSPC failure.
long_desc: Cooldown period(in seconds) when BlueFS uses shared/slow device
allocation size instead of "bluefs_shared_alloc_size' one after facing
recoverable (via fallback to smaller chunk size) ENOSPC failure. Intended
primarily to avoid repetitive unsuccessful allocations which might be
expensive.
default: 600
with_legacy: true
- name: bluefs_max_prefetch
type: size
level: advanced
Expand Down Expand Up @@ -4211,7 +4223,7 @@ options:
- name: bluestore_bluefs_alloc_failure_dump_interval
type: float
level: advanced
desc: How frequently (in seconds) to dump allocator onBlueFS space allocation failure
desc: How frequently (in seconds) to dump allocator on BlueFS space allocation failure
default: 0
with_legacy: true
- name: bluestore_spdk_mem
Expand Down

0 comments on commit c0309cf

Please sign in to comment.