• Kent Overstreet's avatar
    bcachefs: RESERVE_stripe · e84face6
    Kent Overstreet authored
    Rework stripe creation path - new algorithm for deciding when to create
    new stripes or reuse existing stripes.
    
    We add a new allocation watermark, RESERVE_stripe, above RESERVE_none.
    Then we always try to create a new stripe by doing RESERVE_stripe
    allocations; if this fails, we reuse an existing stripe and allocate
    buckets for it with the reserve watermark for the given write
    (RESERVE_none or RESERVE_movinggc).
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    e84face6
alloc_background.h 7.04 KB