mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 22:21:40 +00:00
bcachefs; Use trans_unlock_long() when waiting on allocator
not using unlock_long() blocks key cache reclaim, and the allocator may take awhile Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
aacd897d4d
commit
f0f3e51148
@ -125,7 +125,7 @@ err_noprint:
|
||||
bch2_bkey_buf_exit(&old, c);
|
||||
|
||||
if (closure_nr_remaining(&cl) != 1) {
|
||||
bch2_trans_unlock(trans);
|
||||
bch2_trans_unlock_long(trans);
|
||||
closure_sync(&cl);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user