mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 18:13:26 -04:00
bcachefs: use correct wq for journal reclaim
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
committed by
Kent Overstreet
parent
e5a66496a0
commit
6409c6a0ae
@@ -971,7 +971,7 @@ void bch2_fs_journal_start(struct journal *j)
|
||||
*/
|
||||
bch2_journal_seq_blacklist_write(j);
|
||||
|
||||
queue_delayed_work(system_freezable_wq, &j->reclaim_work, 0);
|
||||
queue_delayed_work(c->journal_reclaim_wq, &j->reclaim_work, 0);
|
||||
}
|
||||
|
||||
/* init/exit: */
|
||||
|
||||
@@ -1082,7 +1082,7 @@ static void journal_write_done(struct closure *cl)
|
||||
* Must come before signaling write completion, for
|
||||
* bch2_fs_journal_stop():
|
||||
*/
|
||||
mod_delayed_work(system_freezable_wq, &j->reclaim_work, 0);
|
||||
mod_delayed_work(c->journal_reclaim_wq, &j->reclaim_work, 0);
|
||||
out:
|
||||
/* also must come before signalling write completion: */
|
||||
closure_debug_destroy(cl);
|
||||
|
||||
Reference in New Issue
Block a user