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

bcachefs: Fix deadlock in journal replay



btree_key_can_insert_cached() should be checking the watermark -
BCH_TRANS_COMMIT_journal_replay really means nonblocking mode when
watermark < reclaim, it was being used incorrectly.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 4518e80a
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