diff options
author | 2024-07-11 16:14:11 -0400 | |
---|---|---|
committer | 2024-07-11 20:10:55 -0400 | |
commit | f0f3e5114871330faf3248e92ceaa4f18602e941 (patch) | |
tree | d92919707458a8106fe00cd184c3037573621f4c | |
parent | Revert "bcachefs: Mark bch_inode_info as SLAB_ACCOUNT" (diff) | |
download | wireguard-linux-f0f3e5114871330faf3248e92ceaa4f18602e941.tar.xz wireguard-linux-f0f3e5114871330faf3248e92ceaa4f18602e941.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | fs/bcachefs/io_misc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/bcachefs/io_misc.c b/fs/bcachefs/io_misc.c index 4ec979b4b23e..4583c9386e8c 100644 --- a/fs/bcachefs/io_misc.c +++ b/fs/bcachefs/io_misc.c @@ -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); } |