bcachefs: Don't block on reclaim_lock from journal_res_get

When we're doing btree updates from journal flush, this becomes a
locking inversion

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2019-02-28 14:22:52 -05:00 • committed by Kent Overstreet
commit 9ace606e93
3 changed files with 20 additions and 9 deletions