• Kent Overstreet's avatar
    bcachefs: BCH_WATERMARK_interior_updates · e2a316b3
    Kent Overstreet authored
    This adds a new watermark, higher priority than BCH_WATERMARK_reclaim,
    for interior btree updates. We've seen a deadlock where journal replay
    triggers a ton of btree node merges, and these use up all available open
    buckets and then interior updates get stuck.
    
    One cause of this is that we're currently lacking btree node merging on
    write buffer btrees - that needs to be fixed as well.
    Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
    e2a316b3
buckets.h 12.5 KB