aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2024-06-13 15:35:47 -0400
committerKent Overstreet <[email protected]>2024-09-09 09:41:47 -0400
commit5f1929f1f077d3997ab8cd4a8136aad304b0e9df (patch)
tree3d8928c85db75bb8ae228a036470a904f5f08328 /tools
parentf2bfe7e83765f3bd84382cc75d8ac3ca619de39a (diff)
bcachefs: key cache can now allocate from pending
btree_trans objects can hold the btree_trans_barrier srcu read lock for an extended amount of time (they shouldn't, but it's difficult to guarantee). the srcu barrier blocks memory reclaim, so to avoid too many stranded key cache items, this uses the new pending_rcu_items to allocate from pending items - like we did before, but now without a global lock on the key cache. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions