projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacd897
)
bcachefs; Use trans_unlock_long() when waiting on allocator
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 11 Jul 2024 20:14:11 +0000
(16:14 -0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Fri, 12 Jul 2024 00:10:55 +0000
(20:10 -0400)
not using unlock_long() blocks key cache reclaim, and the allocator may
take awhile
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/io_misc.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/io_misc.c
b/fs/bcachefs/io_misc.c
index
4ec979b
..
4583c93
100644
(file)
--- 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);
}