Skip to content
Commit c502b5b8 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs; Fix deadlock in bch2_btree_update_start()



BCH_TRANS_COMMIT_journal_reclaim with watermark != BCH_WATERMARK_reclaim
means nonblocking, and we need the journal_res_get() in
btree_update_start() to respect that.

In a future refactoring we'll be deleting
BCH_TRANS_COMMIT_journal_reclaim and replacing it with an explicit
BCH_TRANS_COMMIT_nonblocking.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent b38114dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment