mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 15:29:16 +00:00
bcachefs: use correct wq for journal reclaim
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user